Part Number Hot Search : 
1N3671RA LM331 V175LA2 S3C9452 BCM7041 74HC1G1 HM100 TM3037
Product Description
Full Text Search
 

To Download DS310208 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  maxim integrated products 1 some revisions of this device may incorporate deviations from published specifications known as errata. multiple revisions of any device may be simultaneously available through various sa les channels. for information about device errata, go to: www.maxim-ic.com/errata . for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxim?s website at www.maxim-ic.com. ds3102 stratum 3 timing card ic with synchronous ethernet support general description the ds3102 is a low-cost, feature-rich timing ic for telecom timing cards. with 8 input clocks, the device directly accepts both line timing from a large number of line cards and external timing from external ds1/e1 bits transceivers. the ds3102 continually monitors all input clocks and performs automatic hitless reference switching if the prim ary reference fails. the t0 dpll complies with the stratum 3 requirements of gr-1244, gr-253, and the requirements of g.813 and g.8262. the highly programmable ds3102 support numerous input and output frequencies including rates required for sonet/sdh, synchronou s ethernet (1g, 10g, and 100mbps), wireless base stations, and cmts systems. pll bandwidths fr om 0.5mhz to 400hz are supported, and a wide variety of pll characteristics and device features can be configured to meet the needs of many different applications. two ds3102 devices can be configured in a master/slave arrangement for timing card equipment protection. the ds3102 register set is backward compatible with semtech?s acs8522 timing card ic. the ds3102 has a different package and pin arrangement than the acs8522. applications sonet/sdh equipment clocks (secs) synchronous ethernet equipment clocks (eecs) timing card ic in wan equipment including mspps, ethernet switches, routers, dslams, and wireless base stations ordering information part temp range pin-package ds3102gn -40 c to +85 c 81 csbga (10mm) 2 ds3102gn+ -40 c to +85 c 81 csbga (10mm) 2 + denotes a lead-free/rohs-compliant package. features ? synchronization for stratum 3/4e/4, smc, and sec ? meets requirements of gr-1244 stratum 3, gr-253, g.812 type iv, g.813, and g.8262 ? stratum 3 holdover accuracy with suitable external oscillator ? programmable bandwidth: 0.5mhz to 400hz ? hitless reference switching on loss of input ? automatic or manual phase build-out ? frequency conversion among sonet/sdh, pdh, ethernet, wireless, and cmts rates ? 8 input clocks ? four cmos/ttl inputs ( 125mhz) ? four lvds/lvpecl/cmos/ttl inputs ( 156.25mhz) ? three optional frame-sync inputs (cmos/ttl) ? continuous input clock quality monitoring ? numerous input clock frequencies supported: sonet/sdh: 6.48, n x 19.44, n x 51.84mhz ethernet xmii: 2.5, 25, 125, 156.25mhz pdh: n x ds1, n x e1, n x ds2, ds3, e3 frame sync: 2khz, 4khz, 8khz custom: any multiple of 2khz up to 131.072mhz, any multiple of 8khz up to 155.52mhz ? 7 output clocks ? three cmos/ttl outputs ( 125mhz) ? two lvds/lvpecl outputs ( 312.50mhz) ? two dual cmos/ttl an d lvds/lvpecl outputs ? five cmos outputs have additional output pins that can be powered at 2.5v or 3.3v ? numerous output clock frequencies supported: sonet/sdh: 6.48, n x 19.44, n x 51.84mhz ethernet xmii: 2.5, 25, 125, 156.25, 312.5mhz pdh: n x ds1, n x e1, n x ds2, ds3, e3 other: 10, 10.24, 13, 30.72mhz frame sync: 2khz, 8khz custom clock rates: any multiple of 2khz up to 77.76mhz, any multiple of 8khz up to 311.04mhz, any multiple of 10khz up to 388.79mhz ? general ? internal compensation for master clock oscillator ? spi? processor interface ? 1.8v operation with 3.3v i/o (5v tolerant) ? industrial temperature range rev: 102808 spi is a trademark of motorola, inc.
____________________________________________________________________________________________ ds 3102 rev: 102808 2 of 141 table of contents 1. standards compliance .......................................................................................................... 6 2. application example ............................................................................................................ ... 7 3. block diagram .................................................................................................................. ......... 8 4. detailed description ........................................................................................................... ... 9 5. detailed features .............................................................................................................. ... 11 5.1 i nput c lock f eatures ............................................................................................................... 11 5.2 t0 dpll f eatures ..................................................................................................................... 11 5.3 t4 dpll f eatures ..................................................................................................................... 11 5.4 o utput apll f eatures ............................................................................................................. 12 5.5 o utput c lock f eatures ............................................................................................................ 12 5.6 r edundancy f eatures .............................................................................................................. 12 5.7 g eneral f eatures ..................................................................................................................... 12 6. pin descriptions ............................................................................................................... ....... 13 7. functional description ....................................................................................................... 17 7.1 o verview ............................................................................................................................... ..... 17 7.2 d evice i dentification and p rotection ..................................................................................... 18 7.3 l ocal o scillator and m aster c lock c onfiguration ............................................................. 18 7.4 i nput c lock c onfiguration ...................................................................................................... 19 7.4.1 signal format c onfiguration .................................................................................................... ............ 19 7.4.2 frequency conf iguration........................................................................................................ .............. 20 7.5 i nput c lock m onitoring ............................................................................................................ 21 7.5.1 frequency m onitoring ........................................................................................................... ............... 21 7.5.2 activity mo nitori ng ............................................................................................................ .................... 21 7.5.3 selected reference ac tivity monitoring ......................................................................................... ...... 22 7.6 i nput c lock p riority , s election , and s witching .................................................................... 23 7.6.1 priority conf iguration......................................................................................................... ................... 23 7.6.2 automatic select ion algorithm .................................................................................................. ........... 23 7.6.3 forced selection ............................................................................................................... ................... 24 7.6.4 ultra-fast refere nce switching ................................................................................................. .......... 24 7.6.5 external referenc e switchi ng mode.............................................................................................. ...... 24 7.6.6 output clock phase continuity during referenc e switching .............................................................. 25 7.7 dpll a rchitecture and c onfiguration .................................................................................. 26 7.7.1 t0 dpll stat e machine .......................................................................................................... ............. 27 7.7.2 t4 dpll stat e machine .......................................................................................................... ............. 30 7.7.3 bandwidth ...................................................................................................................... ...................... 32 7.7.4 damping factor................................................................................................................. ................... 32 7.7.5 phase dete ctors................................................................................................................ ................... 32 7.7.6 loss-of-lock detection ......................................................................................................... ............... 33 7.7.7 phase buil d-out ................................................................................................................ ................... 34 7.7.8 input to output (manu al) phase ad justment...................................................................................... .. 34 7.7.9 phase recali bration ............................................................................................................ ................. 34 7.7.10 frequency and p hase measurement................................................................................................ ... 35 7.7.11 input jitter and wa nder tolerance.............................................................................................. ......... 36 7.7.12 jitter and wander transfer ..................................................................................................... ............. 36 7.7.13 output jitte r and w ander ....................................................................................................... .............. 37 7.8 o utput c lock c onfiguration ................................................................................................... 37 7.8.1 signal format c onfiguration .................................................................................................... ............ 38 7.8.2 frequency conf iguration........................................................................................................ .............. 38 7.9 e quipment r edundancy c onfiguration ................................................................................... 45
____________________________________________________________________________________________ ds 3102 rev: 102808 3 of 141 7.9.1 master-slave output clock-phase alignment ..................................................................................... 45 7.9.2 master-slave frame and multiframe alignment with the external frame- sync signals ..................... 46 7.9.3 syncn pins ..................................................................................................................... .................... 48 7.9.4 other configurat ion options .................................................................................................... ............ 49 7.10 m icroprocessor i nterface .................................................................................................. 49 7.11 r eset l ogic ............................................................................................................................. 52 7.12 p ower -s upply c onsiderations ............................................................................................. 52 7.13 i nitialization ............................................................................................................................ 52 8. register descriptions ......................................................................................................... 53 8.1 s tatus b its ............................................................................................................................... .. 53 8.2 c onfiguration f ields ................................................................................................................ 53 8.3 m ultiregister f ields ................................................................................................................. 53 8.4 r egister d efinitions ................................................................................................................. 54 9. jtag test access port and boundary scan ............................................................. 123 9.1 jtag d escription .................................................................................................................... 123 9.2 jtag tap c ontroller s tate m achine d escription ............................................................. 124 9.3 jtag i nstruction r egister and i nstructions ...................................................................... 126 9.4 jtag t est r egisters .............................................................................................................. 127 10. electrical characteristics............................................................................................ 128 10.1 dc c haracteristics ............................................................................................................. 128 10.2 i nput c lock t iming ............................................................................................................... 132 10.3 o utput c lock t iming ............................................................................................................ 132 10.4 spi i nterface t iming ............................................................................................................ 133 10.5 jtag i nterface t iming ......................................................................................................... 135 10.6 r eset p in t iming ................................................................................................................... 136 11. pin assignments ................................................................................................................ .... 137 12. package information ......................................................................................................... 139 13. acronyms and abbreviations ......................................................................................... 140 14. data sheet revision history............................................................................................ 141
____________________________________________________________________________________________ ds 3102 rev: 102808 4 of 141 list of figures figure 2-1. typical a pplication example ........................................................................................ ............................. 7 figure 3-1. bl ock diagram ...................................................................................................... ..................................... 8 figure 7-1. dpll block diagram ................................................................................................. .............................. 26 figure 7-2. t0 dpll st ate transition diagram ................................................................................... ...................... 28 figure 7-3. t4 dpll st ate transition diagram ................................................................................... ...................... 31 figure 7-4. fsync 8khz options................................................................................................. ............................. 44 figure 7-5. spi cloc k phase options ............................................................................................ ............................ 50 figure 7-6. spi bu s transactions............................................................................................... ............................... 51 figure 9-1. jtag block diagram................................................................................................. ............................ 123 figure 9-2. jtag tap co ntroller stat e machine .................................................................................. .................. 125 figure 10-1. recomm ended termination for lvds pins ............................................................................. ........... 130 figure 10-2. recommended te rmination for lvpecl signal s on lvds i nput pins .............................................. 130 figure 10-3. recomm ended termination for lvpecl- compatible ou tput pins .................................................... 131 figure 10-4. spi inte rface timi ng diagram ...................................................................................... ....................... 134 figure 10-5. jtag timing diagram............................................................................................... .......................... 135 figure 10-6. reset pi n timing diagram .......................................................................................... ........................ 136 figure 11-1. pin a ssignment diagram............................................................................................ ......................... 138
____________________________________________________________________________________________ ds 3102 rev: 102808 5 of 141 list of tables table 1-1. applicab le telecom standards........................................................................................ ........................... 6 table 6-1. input clo ck pin desc riptions ........................................................................................ ............................ 13 table 6-2. output cl ock pin descriptions....................................................................................... ........................... 14 table 6-3. global pin descri ptions ............................................................................................. ............................... 15 table 6-4. spi bus m ode pin desc riptions ....................................................................................... ........................ 15 table 6-5. jtag inte rface pin de scriptions ..................................................................................... ......................... 16 table 6-6. power-supp ly pin descriptions ....................................................................................... ......................... 16 table 7-1. gr-1244 stratum 3 st ability requirem ents exam ple .................................................................... .......... 18 table 7-2. input clock capab ilities ............................................................................................ ................................ 19 table 7-3. locking frequency modes ............................................................................................. .......................... 20 table 7-4. default i nput clock pr iorities ...................................................................................... .............................. 23 table 7-5. damping factors and peak jitter/ wander gain......................................................................... .............. 32 table 7-6. t0 dpll adaptation for t he t4 dpll phase me asurement mode .......................................................... 36 table 7-7. output clock capab ilities ........................................................................................... .............................. 37 table 7-8. digita l1 frequencies................................................................................................ ................................. 39 table 7-9. digita l2 frequencies................................................................................................ ................................. 40 table 7-10. apll frequency to output frequencies (t0 apll and t4 apll) ........................................................ 40 table 7-11. t0 apll freq uency config uration .................................................................................... ..................... 40 table 7-12. t0 apll2 fre quency confi guration ................................................................................... .................... 40 table 7-13. t4 apll freq uency config uration .................................................................................... ..................... 41 table 7-14. oc1 to oc7 out put frequency selection .............................................................................. ................ 41 table 7-15. standard frequencies for programm able outputs ...................................................................... .......... 42 table 7-16. equipment redundancy me thodology ................................................................................... ................ 45 table 7-17. external fram e-sync mode and s ource ................................................................................ ................ 47 table 7-18. external frame-sync source ......................................................................................... ........................ 48 table 8-1. re gister map ........................................................................................................ .................................... 54 table 9-1. jtag in struction codes .............................................................................................. ........................... 126 table 9-2. jt ag id code ........................................................................................................ ................................ 127 table 10-1. recommended dc operating conditions ................................................................................ ............ 128 table 10-2. dc ch aracteristics................................................................................................. ............................... 128 table 10-3. cm os/ttl pins ...................................................................................................... ............................. 129 table 10-4. lvds/l vpecl input pins ............................................................................................. ....................... 129 table 10-5. lvds output pins ................................................................................................... ............................. 129 table 10-6. lvpecl level-c ompatible ou tput pins................................................................................ ............... 130 table 10-7. input clock timing................................................................................................. ............................... 132 table 10-8. input clock to output cl ock delay .................................................................................. ..................... 132 table 10-9. output clock phase ali gnment, frame-sync alignment mode............................................................ 132 table 10-10. spi interface timing .............................................................................................. ............................. 133 table 10-11. jtag interface timing............................................................................................. ........................... 135 table 10-12. re set pin timing .................................................................................................. .............................. 136 table 11-1. pin assignment s sorted by signal name.............................................................................. ............... 137 table 12-1. csbga package thermal properties, natu ral convection ............................................................... .. 139
____________________________________________________________________________________________ ds 3102 rev: 102808 6 of 141 1. standards compliance table 1-1. applicable telecom standards specification specification title ansi t1.101 synchronization interface standard , 1999 tia/eia-644-a electrical characteristics of low voltage di fferential signaling (lvds) interface circuits, 2001 etsi en 300 417-6-1 transmission and multiplexing (tm); generic re quirements of transport functionality of equipment; part 6-1: synchronization layer functions , v1.1.3 (1999-05) en 300 462-3-1 transmission and multiplexing (tm); generic re quirements for synchronization networks; part 3-1: the control of jitter and wander within synchronization networks , v1.1.1 (1998-05) en 300 462-5-1 transmission and multiplexing (tm); generic re quirements for synchronization networks; part 5-1: timing characteristics of slave clocks suitable for operation in synchronous digital hierarchy (sdh) equipment , v1.1.2 (1998-05) ieee ieee 1149.1 standard test access port and boundary-scan architecture , 1990 itu-t g.781 synchronization layer functions (06/1999) g.783 characteristics of synchronous digital hi erarchy (sdh) equipment functional blocks (10/2000 plus amendment 1 06/2002 and corrigendum 2 03/2003) g.812 timing requirements of slave clocks suitable for use as node clocks in synchronization networks (06/1998) g.813 timing characteristics of sdh equipment slave clocks (sec) (03/2003) g.823 the control of jitter and wander within digital networks which are based on the 2048 kbit/s hierarchy (03/2000) g.824 the control of jitter and wander within digital networks which are based on the 1544 kbit/s hierarchy (03/2000) g.825 the control of jitter and wander within digital networks which are based on the synchronous digital hierarchy (sdh) (03/2000) g.8261 timing and synchronization aspects in packet networks (05/2006, prepublished) g.8262 timing characteristics of synchronous ethernet equipment slave clock (eec) (08/2007, prepublished) telcordia gr-253-core sonet transport systems: common generic criteria , issue 3, september 2000 gr-378-core generic requirements for timing signal generators , issue 2, february 1999 gr-1244-core clocks for the synchronized ne twork: common generic criteria, issue 2, december 2000
____________________________________________________________________________________________ ds 3102 rev: 102808 7 of 141 2. application example figure 2-1. typical application example ds3102 to bits/ssu tcxo or ocxo monitor, divider, selector t4 dpll t4 apll bits tx bits tx t0 dpll monitor, divider, selector bits rx bits rx micro controller timing card (1 of 2) backplane ds1, e1 or 2048 khz ds1, e1 or 2048 khz from bits/ssu timing card (2 of 2) identical to timing card 1 t0 apll line card (1 of n) line card (n of n) <1> <1> <1> <1> n n n n typically 19.44 mhz point-to-point or multidrop buses create derived ds1 or e1/2048 khz clock from 19.44 mhz frequency locked to line clock activty and frequency monitoring, select highest priority valid input clock/data recovery, equalizer, framer, extract ssms stratum 3: jitter/wander filtering, hitless switching, phase adjust, holdover divide line clock down to backplane rate, send to timing cards select best system clock, hitless switching, basic holdover dpll apll clock multiplication, jitter cleanup to port serdes <0> <0>
____________________________________________________________________________________________ ds 3102 rev: 102808 8 of 141 3. block diagram figure 3-1. block diagram t0 dpll (filtering, holdover, hitless switching, frequency conversion) master clock generator oc4b oc5b oc6 pos/neg fsync mfsync ic3 ic4 ic5 pos/neg ic6 pos/neg ic8 ic9 microprocessor port (spi serial) and hw control and status pins local oscillator r st c s cpha sclk sdi sdo intreq/srfail t4 dpll (frequency conversion) sonsdh srcsw refclk wdt jtag input clock selector, divider and monitor output clock synthesizer and selector (muxes, 7 dfs blocks, 3 aplls, output dividers) sync1 oc3b test gpio[4:1] srfail lock sync3 ic1 pos/neg ic2 pos/neg sync2 oc7 pos/neg oc5 pos/neg oc4 pos/neg oc2b oc1b oc4 oc5 oc3 oc2 oc1 cpol wdt jtrst jtms jtclk jtdi jtdo pll bypass see figure 7-1 for a detailed view of the t0 and t4 dplls and the output clock synthesizer and selector block. ds3102
____________________________________________________________________________________________ ds 3102 rev: 102808 9 of 141 4. detailed description figure 3-1 illustrates the blocks described in this secti on and how they relate to one another. section 5 provides a detailed feature list. the ds3102 is a highly integrated timing card ic for sy stems with sonet/sdh or synchronous ethernet ports. at the core of this device are two digital phase-locked loops (dplls) labeled t0 and t4 1 . dpll technology makes use of digital-signal processing (dsp) and digital-frequency synthesis (dfs) techniques to implement plls that are precise, flexible, and have consistent performance over voltage, temperature, and manufacturing process variations. the ds3102?s dplls are digitally configurable for input and output frequencies, loop bandwidth, damping factor, pull-in/hold-in range, and a variety of other factors. both dplls can directly lock to many common telecom frequencies and also can lock at 8khz to any multiple of 8khz up to 156.25mhz. the dplls can also tolerate and filter significant amounts of jitter and wander. the t0 dpll is responsible for generating the system clo cks used to time the outgoing traffic interfaces of the system (sonet/sdh, synchronous etherne t, etc.). to perform this role in a variety of systems with diverse performance requirements, the t0 dpll has a sophistic ated feature set and is highly configurable. t0 can automatically transition among free-run, locked, and holdover states without software intervention. in free-run, t0 generates a stable, low-noise clock with the same frequency accuracy as the external oscillator connected to the refclk pin. with software calibration the ds31 02 can even improve the accuracy to within 0.02ppm. when an input reference has been validated, t0 transitions to the lo cked state in which its output clock accuracy is equal to the accuracy of the input reference. while in the lock ed state, t0 acquires a high- accuracy long-term average frequency value to use as the holdover frequency. when its selected reference fails, t0 can very quickly detect the failure and enter the holdover state to avoid affecting its out put clock. from holdover it can automatically switch to the next highest priority input reference, again without a ffecting its output clock (hit less switching). switching among input references can be either revertive or nonrevertive. when all input references are lost, t0 stays in holdover, in which it generates a stable low-noise clock wi th initial frequency accuracy equal to its stored holdover value and drift performance determined by the quality of the external oscillator. with a suitable local oscillator the t0 dpll provides holdover performance suitable for all applications up to and including stratum 3e. t0 can also perform phase build-outs and fine-granular ity output clock phase adjustments. the t4 dpll has a much less demanding role to play and therefore is much simpler than t0. often t4 is used as a frequency converter to create a derived ds1- or e1 -rate clock (frequency locked to an incoming sonet/sdh port) to be sent to a nearby bits timing signal generato r (tsg, telcordia terminology) or synchronization supply unit (ssu, itu-t terminology). in other applications t4 is phase-locked to t0 and used as a frequency converter to produce additional output clock rates for use within the system, such as n x ds1, n x e1, n x ds2, ds3, e3, 125mhz for synchronous gigabit ethernet, or 156.25mhz for synchronous 10g ethernet. t4 can also be configured as a measuring tool to measure the frequency of an input reference or the phase difference between two input references. at the front end of both the t0 and t4 dplls is the input clock selector, divi der, and monitor (icsdm) block. this block continuously monitors as many as 8 different input clocks of various frequencies for activity and frequency accuracy. in addition, icsdm maintains separate input cl ock priority tables for the t0 and t4 dplls, and can automatically select and provide the hi ghest priority valid clock to each dpll without any software intervention. the icsdm block can also divide the selected clo ck down to a lower rate as needed by the dpll. the output clock synthesizer and selector (ocss) block shown in figure 3-1 and in more detail in figure 7-1 contains three output aplls?t0 apll, t0 apll2, and t4 apll?and their associated dfs engines and output divider logic plus several additional dfs engines. the apll dfs blocks perform frequency translation, creating clocks of other frequencies that are phase/frequency lock ed to the output clock of t he associated dpll. the aplls multiply the clock rates from the apll dfs blocks and simu ltaneously attenuate jitter. altogether the output blocks of the ds3102 can produce more than 90 different ou tput frequencies including common sonet/sdh, pdh and synchronous ethernet rates plus 2k hz and 8khz frame-sync pulses. 1 these names are adapted from output ports of the sets function s pecified in itu-t and etsi standards such as etsi en 300 462-2- 1.
____________________________________________________________________________________________ ds 3102 rev: 102808 10 of 141 the entire chip is clocked from th e external oscillator connected to t he refclk pin. thus, the free-run and holdover stability of the ds3102-based timing card is entirely a function of the stability of the external oscillator, the performance of which can be selected to match the application: tcxo, ocxo, double-oven ocxo, etc. the 12.8mhz clock from the external oscillator is multiplied by 16 by the master clock ge nerator block to create the 204.8mhz master clock used by the re st of the device. since every bloc k on the device depends on the master clock and therefore the local oscillator clock for proper operation, the master clock generat or has a watchdog timer (wdt) function that can be used to signal a local micropro cessor in the event of a local oscillator clock failure. the ds3102 also has several features to support master/slave timing card redundancy and protection. two ds3102 devices on redundant cards can be configured to mainta in the same priority tables, choose the same input references, and generate output clocks and frame syncs with the same frequency and phase.
____________________________________________________________________________________________ ds 3102 rev: 102808 11 of 141 5. detailed features 5.1 input clock features ? eight input clocks: four cmos/ttl ( 125mhz) and four lvds/lvpecl/cmos/ttl ( 156.25mhz) ? cmos/ttl input clocks accept any multiple of 2khz up to 125mhz ? lvds/lvpecl inputs accept any mult iple of 2khz up to 131.072mhz, any multiple of 8khz up to 155.52mhz plus 156.25mhz ? all input clocks are constantly monitored by prog rammable frequency monitors and activity monitors ? fast activity monitor can disqualify the sele cted reference after two missing clock cycles ? three optional 2/4/8khz frame-sync inputs 5.2 t0 dpll features ? high-resolution dpll plus two or three low-jitter output aplls ? sophisticated state machine autom atically transitions between free-run, locked, and holdover states ? revertive or nonrevertive reference selection algorithm ? programmable bandwidth from 0.5mhz to 400hz ? separately configurable acquisition bandwidth and locked bandwidth ? programmable damping factor to balance lock time with peaking: 1.2, 2.5, 5, 10, or 20 ? multiple phase detectors: phase/fr equency, early/late, and multicycle ? phase/frequency locking ( 360 capture) or nearest edge phase locking ( 180 capture) ? multicycle phase detection and locking (up to 8191ui) improves jitter tolerance and lock time ? phase build-out in response to reference switching ? less than 5 ns output clock phase tr ansient during phase build-out ? output phase adjustment up to 200ns in 6ps steps with respect to selected input reference ? high-resolution frequency and phase measurement ? holdover frequency averaging ov er 8- or 110-minute intervals ? fast detection of input clock failure and transition to holdover mode ? low-jitter frame sync (8khz) and multiframe sync (2khz) aligned with output clocks 5.3 t4 dpll features ? high-resolution dpll plus low-jitter output apll ? programmable bandwidth from 18hz to 70hz ? programmable damping factor to balance lock time with peaking: 1.2, 2.5, 5, 10, or 20 ? multiple phase detectors: phase/fr equency, early/late, and multicycle ? phase/frequency locking ( 360 capture) or nearest edge phase locking ( 180 capture) ? multicycle phase detection and locking (up to 8191ui) improves jitter tolerance and lock time ? 2khz and 8khz frame syncs with programmable polarity and pulse width ? can operate independently or locked to t0 dpll ? phase detector can be used to measure phase difference between two input clocks ? optional pll bypass mode provides input clock monito ring, selection, and optional frequency division but bypasses the dpll and apll when they are not needed (e.g., dividing an input clock to 8khz) ? high-resolution frequency and phase measurement
____________________________________________________________________________________________ ds 3102 rev: 102808 12 of 141 5.4 output apll features ? three separate clock multiplying, jitter attenuating aplls can simult aneously produce sonet/sdh rates, fast/gigabit ethernet rates, and 10g ethernet rates, all locked to a common reference clock ? the t0 apll, always connected to the t0 dpll, has frequency options suitable for n x 19.44mhz, n x ds1, n x e1, n x 25mhz, and n x 62.5mhz ? the t4 apll can be connected to either the t0 dpll or the t4 dpll and has frequency options suitable for n x 19.44mhz, n x ds1, n x e1, n x ds2, ds3, e3, n x 10mhz, n x 10.24mhz, n x 13mhz, n x 25mhz, and n x 62.5mhz ? the t0 apll2, always connected to the t0 dpll, produces 312.5mhz for 10g synchronous ethernet applications 5.5 output clock features ? seven output clocks: three cmos/ttl ( 125mhz), two lvds/lvpecl ( 312.50mhz), and two dual cmos/ttl and lvds/lvpecl ? output clock rates include 2khz, 8khz, n x ds1, n x e1, ds2, ds3, e3, 6.48mhz, 19.44mhz, 38.88mhz, 51.84mhz, 77.76mhz, 155.52mhz, 311.04mhz, 2. 5mhz, 25mhz, 125mhz, 156.25mhz, 312.50mhz, 10mhz, 10.24mhz, 13mhz, 30.72mhz, and various mu ltiples and submultiples of these rates ? custom clock rates also available: any multiple of 2khz up to 77.76mhz, any multiple of 8khz up to 311.04mhz, and any multiple of 10khz up to 388.79mhz ? three independent output aplls support simultan eous generation of 155.52mhz for sonet/sdh, 125mhz for gigabit ethernet, and 156.25/312.5mhz for 10g et hernet (plus various multiples/submultiples of each) ? all outputs have < 1ns peak-to-peak output jitte r; outputs from aplls hav e < 0.5ns peak-to-peak ? each cmos/ttl clock output has two leads, the sta ndard output (e.g., oc1) with a 3.3v power supply, and the ?b? output (e.g., oc1b) connected to the v ddiob power supply for optional 2.5v output signal levels. ? 8khz frame sync and 2khz multiframe sync outputs have programmable polarity and pulse width and can be disciplined by a 2khz or 8khz sync input 5.6 redundancy features ? devices on redundant timing cards can be configured for master/slave operation ? clocks and frame syncs can be cross-wired between dev ices to ensure that slave always tracks master ? input clock priority tables can easily be kept synchronized between master and slave 5.7 general features ? operates from a single external 12.800mhz local oscillator (xo, tcxo, or ocxo) ? on-chip watchdog circuit for the local (refclk) oscillator ? spi serial microprocessor interface ? four general-purpose i/o pins ? register set can be write protected
____________________________________________________________________________________________ ds 3102 rev: 102808 13 of 141 6. pin descriptions table 6-1. input clo ck pin descriptions pin name (1) type (2) pin description refclk i reference clock. connect to a 12.800mhz, high-accuracy, high-stability, low-noise local oscillator (tcxo, ocxo, or xo). see section 7.3 . ic1pos, ic1neg i diff input clock 1. lvds/lvpecl or cmos/ttl. programma ble frequency (def ault 8khz). lvds/lvpecl: see table 10-4 , figure 10-1 , and figure 10-2 . cmos/ttl: bias ic1neg to 1.4v and connect the single-ended signal to ic1pos. ic2pos, ic2neg i diff input clock 2. lvds/lvpecl or cmos/ttl. programma ble frequency ( default 8khz). lvds/lvpecl: see table 10-4 , figure 10-1 , and figure 10-2 . cmos/ttl: bias ic2neg to 1.4v and connect the single-ended signal to ic2pos. this input can be associated with the sync3 pin. ic3 i pd input clock 3. cmos/ttl. programmable frequency (d efault 8khz). this input can be associated with the sync1 pin. ic4 i pd input clock 4. cmos/ttl. programmable frequency (d efault 8khz). this input can be associated with the sync2 pin. ic5pos, ic5neg i diff input clock 5. lvds/lvpecl or cmos/ttl. programma ble frequency (def ault 19.44mhz). lvds/lvpecl: see table 10-4 , figure 10-1 , and figure 10-2 . cmos/ttl: bias ic5neg to 1.4v and connect the single-ended signal to ic5pos. this input can be associated with the sync1 pin. ic6pos, ic6neg i diff input clock 6. lvds/lvpecl or cmos/ttl. programma ble frequency (def ault 19.44mhz). lvds/lvpecl: see table 10-4 , figure 10-1 , and figure 10-2 . cmos/ttl: bias ic6neg to 1.4v and connect the single-ended signal to ic6pos. this input can be associated with the sync2 pin. ic8 i pd input clock 8. cmos/ttl. programmable input re ference (default 19.44mhz). ic9 i pd input clock 9. cmos/ttl. programmable frequency (def ault 19.44mhz). this input can be associated with the sync3 pin. sync1 i pd frame-sync 1 input. 2khz, 4khz, or 8khz. fscr3 :source ! = 11xx. this pin is the external frame-sync input associated with any input pin using the fscr3 :source field. fscr3 :source = 11xx. this pin is the external frame-sync signal associated with ic3 or ic5, depending on which one is currently selected and the setting of fscr1 .syncsrc[1:0]. sync2 i pd frame-sync 2 input. 2khz, 4khz, or 8khz. fscr3 :source ! = 11xx. this pin is not used for the external frame-sync signal. fscr3 :source = 11xx. this pin is the external frame-sync signal associated with ic4 or ic6, depending on which one is currently selected and the setting of fscr1 .syncsrc[1:0]. sync3 i pu frame-sync 3 input. 2khz, 4khz, or 8khz. fscr3 :source ! = 11xx. this pin is not used for the external frame-sync signal. fscr3 :source = 11xx. this pin is the external frame-sync signal associated with ic9 or ic2, depending on which one is currently selected and the setting of fscr1 .syncsrc[1:0].
____________________________________________________________________________________________ ds 3102 rev: 102808 14 of 141 table 6-2. output cl ock pin descriptions pin name (1) type (2) pin description oc1 o output clock 1. cmos/ttl. programmable frequency (default 6.48mhz). oc2 o output clock 2. cmos/ttl. programmable frequency (default 38.88mhz). oc3 o output clock 3. cmos/ttl. programmable frequency (default 19.44mhz). oc4 o output clock 4. cmos/ttl. programmable frequency (default 38.88mhz). oc5 o output clock 5. cmos/ttl. programmable frequency (default 77.76mhz). oc4pos, oc4neg o diff output clock 4. lvds/lvpecl. these pins present the same clock as the oc4 pin but in differential signal format. the output mode is selected by mcr8 .oc4sf[1:0]. see table 10-5 , table 10-6 , figure 10-1 , and figure 10-3. oc5pos, oc5neg o diff output clock 5. lvds/lvpecl. these pins present the same clock as the oc5 pin but in differential signal format. the output mode is selected by mcr8 .oc5sf[1:0]. see table 10-5 , table 10-6 , figure 10-1 , and figure 10-3. oc6pos, oc6neg o diff output clock 6. lvds/lvpecl. programmable frequency (default 38.88mhz lvds). the output mode is selected by mcr8 .oc6sf[1:0]. see table 10-5 , table 10-6 , figure 10-1 , and figure 10-3. oc7pos, oc7neg o diff output clock 7. lvds/lvpecl. programmable frequency (default 19.44mhz lvds). the output mode is selected by mcr8 .oc7sf[1:0]. see table 10-5 , table 10-6 , figure 10-1 , and figure 10-3. oc1b/ gpio1 o 3 output clock 1b/general-purpose i/o 1. cmos/ttl (default clk1b, disabled). this pin is programmable as an output clock pin or a gpio pin using ocr6 .oc1ben. when programmed as a clock output pin (oc1ben = 1) it presents the same clock as the oc1 pin. this pin is powered from the v ddiob power-supply pin. oc2b/ gpio2 o 3 output clock 2b/general-purpose i/o 2. cmos/ttl (default clk2b, disabled). this pin is programmable as an output clock pin or a gpio pin using ocr6 .oc2ben. when programmed as a clock output pin (oc2ben = 1) it presents the same clock as the oc2 pin. this pin is powered from the v ddiob power-supply pin. oc3b/ gpio3 o 3 output clock 3b/general-purpose i/o 3. cmos/ttl (default clk3b, disabled). this pin is programmable as an output clock pin or a gpio pin using ocr6 .oc3ben. when programmed as a clock output pin (oc3ben = 1) it presents the same clock as the oc3 pin. this pin is powered from the v ddiob power-supply pin. oc4b o 3 output clock 4b. cmos/ttl (default off). when enabled ( ocr6 .oc4ben = 1), this pin presents the same clock as the oc4 pin. this pin is powered from the v ddiob power-supply pin. oc5b o 3 output clock 5b. cmos/ttl (default off) . when enabled ( ocr6 .oc5ben = 1), this pin presents the same clock as the oc5 pin. this pin is powered from the v ddiob power-supply pin. fsync o 3 fsync. cmos/ttl. 8khz frame sync or clock (defau lt 50% duty cycle clock, noninverted). the pulse polarity and width are selectable using fscr1 .8kinv and fscr1 .8kpul. mfsync o 3 mfsync. cmos/ttl. 2khz frame sync or clock (def ault 50% duty cycle clock, noninverted). the pulse polarity and width are selectable using fscr1 .2kinv and fscr1 .2kpul.
____________________________________________________________________________________________ ds 3102 rev: 102808 15 of 141 table 6-3. global pin descriptions pin name (1) type (2) pin description rst i pu reset (active low). when this global asynchronous reset is pulled low, all internal circuitry is reset to default values. the device is held in reset as long as rst is low. rst should be held low for at least two refclk cycles after the external oscillator has stabilized and is providing valid clock signals. srcsw i pd source switching. fast source-switching control input. see section 7.6.5 . the value of this pin is latched into mcr10 :extsw when rst goes high. after rst goes high this pin can be used to select between ic3/ic5 and ic4/ic6, if enabled. test i pd factory test mode select. wire this pin to v ss for normal operation. wdt i/o watchdog timer pin. analog node for the refclk watchdog timer. connect to a resistor (r) to v ddio and a capacitor (c) to ground. suggested values are r = 10k and c = 0.01 f. see section 7.3 . sonsdh/ gpio4 i/o pd sonet/sdh frequency select input/general-purpose i/o 4. when rst goes high the state of this pin sets the reset-default state of mcr3 :sonsdh, mcr6 :dig1ss, and mcr6 :dig2ss. after rst goes high this pin can be used as a general-purpose i/o pin. gpcr :gpio4d configures this pin as an input or an output. gpcr :gpio4o specifies the output value. gpsr :gpio4 indicates the state of the pin. reset latched values: 0 = sdh rates (n x 2.048mhz) 1 = sonet rates (n x 1.544mhz) srfail o srfail status. when mcr10 :srfpin = 1, this pin follows the state of the srfail latched status bit in the msr2 register. this gives the system a very fast indication of the failure of the current reference. when mcr10 :srfpin = 0, srfail is disabled (low). lock o t0 dpll lock status. when mcr1 .lockpin = 1, this pin indicates the lock state of the t0 dpll. when mcr1 .lockpin = 0, lock is disabled (low). 0 = not locked 1 = locked intreq/ los o 3 interrupt request/loss of signal. programmable (default: intreq). the intcr :los bit determines whether the pin indicates interrupt r equests or loss of signal (i.e., loss of selected reference). intcr :los = 0: intreq mode. the behavior of this pin is configured in the intcr register. polarity can be active high or active low. drive action can be push-pull or open drain. the pin can also be configured as a general-purpose out put if the interrupt request function is not needed. intcr :los = 1: los mode. this pin indicates the real-t ime state of the selected reference activity monitor (see section 7.5.3 ). this function is most useful when external switching mode (section 7.6.5 ) is enabled ( mcr10 :extsw = 1). table 6-4. spi bus m ode pin descriptions see section 7.10 for functional description and section 10.4 for timing specifications. pin name (1) type (2) pin description cs i pu chip select. this pin must be asserted (low) to read or write internal registers. sclk i serial clock. sclk is always driven by the spi bus master. sdi i serial data input. the spi bus master transmits dat a to the device on this pin. sdo o serial data output. the device transmits data to the spi bus master on this pin. cpha i clock phase. see figure 7-5 . 0 = data is latched on the leading edge of the sclk pulse. 1 = data is latched on the trailing edge of the sclk pulse. cpol i pd clock polarity. see figure 7-5 . 0 = sclk is normally low and pulses high during bus transactions. 1 = sclk is normally high and pulses low during bus transactions.
____________________________________________________________________________________________ ds 3102 rev: 102808 16 of 141 table 6-5. jtag inte rface pin descriptions see section 9 for functional description and section 10.5 for timing specifications. pin name (1) type (2) pin description jtrst i pu jtag test reset (active low). asynchronously resets the test access port (tap) controller. if not used, jtrst can be held low or high. jtclk i jtag clock. shifts data into jtdi on the rising edge and out of jtdo on the falling edge. if not used, jtclk can be held low or high. jtdi i pu jtag test data input. test instructions and data are clock ed in on this pin on the rising edge of jtclk. if not used, jtdi can be held low or high. jtdo o 3 jtag test data output. test instructions and data are clo cked out on this pin on the falling edge of jtclk. if not used, leave floating. jtms i pu jtag test mode select. sampled on the rising edge of jtclk and is used to place the port into the various defined ieee 1149. 1 states. if not used connect to v ddio or leave floating. table 6-6. power-su pply pin descriptions pin name (1) type (2) pin description v dd p core power supply. 1.8v 10%. v ddio p i/o power supply. 3.3v 5%. v ddiob p power for pins oc1b to oc5b. voltage can be from 2.5v 5% to 3.3v 5%. v ss p ground reference vdd_oc45 p power supply for differential outp uts oc4pos/neg and oc5pos/neg. 1.8v 10%. vss_oc45 p return for differenti al outputs oc4pos/neg and oc5pos/neg vdd_oc67 p power supply for differential outp uts oc6pos/neg and oc7pos/neg. 1.8v 10%. vss_oc67 p return for lvds differential out puts oc6pos/neg and oc7pos/neg avdd_pll1 p power supply for master clock generator apll. 1.8v 10%. avss_pll1 p return for master clock generator apll avdd_pll2 p power supply for t0 apll. 1.8v 10%. avss_pll2 p return for t0 apll avdd_pll3 p power supply for t4 apll. 1.8v 10%. avss_pll3 p return for t4 apll avdd_pll4 p power supply for t0 apll2. 1.8v 10%. avss_pll4 p return for t0 apll2 note 1: all pin names with an overbar (e.g., rst ) are active low. note 2: all pins, except power and analog pi ns, are cmos/ttl, unless otherwise specified in the pin description. pin types i = input pin i diff = input pin that is lvds/lvpecl differential signal compatible i pd = input pin with internal 50k pulldown i pu = input pin with internal 50k pullup i/o = input/output pin io pd = input/output pin with internal 50k pulldown io pu = input/output pin with internal 50k pullup o = output pin o 3 = output pin that can placed in a high-impedance state o diff = output pin that is lvds/lvpecl differential signal compatible p = power-supply pin note 3: all digital pins, except ocn, are i/o pins in jtag mode. ocn pins do not have jtag functionality.
____________________________________________________________________________________________ ds 3102 rev: 102808 17 of 141 7. functional description 7.1 overview the ds3102 has eight input clocks pins and three frame-sync input pins. the device can output as many as nine different clock frequencies on 16 output clock pins. th ere are two separate dplls in the device: the high- performance t0 dpll and the simpler the t4 dp ll. both dplls can generate output clocks. see figure 3-1 . four of the input clock pins are single-ended and can accept clock signals from 2khz to 125mhz. the other four are differential inputs that can accept clock signals up to 156.25mhz. the differential inputs can be configured to accept differential lvds or lvpecl signals or single-ended cmos/ttl signals. each input clock can be monitored continually for activi ty and/or frequency. frequency can be compared to both a hard limit and a soft limit. inputs outside the hard limit are declared invalid, while inputs inside the hard limit but outside the soft limit are merely flagged. each input can be marked unavailable or given a priority number. separate input priority numbers are maintained for the t0 dpll and the t4 dpll. except in special modes, the highest priority valid input is automatic ally selected as the reference for each path. srfail is set or cleared based on activity and/or frequency of the selected input. both the t0 dpll and the t4 dpll can directly lock to many common telecom and datacom frequencies, including, but not limited to, 8khz, ds1, e1, 10mhz, 19.44mhz, and 38.88mhz as well as ethernet frequencies including 25mhz, 62.5mhz, 125mhz, and 156.25mhz. the dpll s can also lock to multiples of the standard direct- lock frequencies including 8khz. the t0 dpll is the high-performance path with all t he features needed for line timing synchronization. the t4 dpll is a simpler auxiliary path typically used to provide derived ds1s, e1s, or other synchronization signals to an external bits/ssu. the t4 apll can be connected to either the t4 dpll or the t0 dpll to provide extra low- jitter output frequencies from the t0 dpll. there is al so a dedicated low-jitter ap ll output that operates at 312.5mhz for 10g ethernet applications. using the optional pll bypass, the t4 selected reference, after any frequency division, can be directly output on any of the oc1 to oc7 output clock pins. both dplls have these features: ? automatic reference selection based on input activity, quality, and priority ? optional manual reference selection/forcing ? configurable quality thresholds for each input ? adjustable pll characteristics, including bandwidth, pull-in range, and damping factor ? ability to lock to several common telecom and ethernet frequencies plus multiples of any standard direct lock frequency. ? frequency conversion between input and out put using digital frequency synthesis ? combined performance of a stable, consistent digital pll and low-jitter analog output plls the t0 dpll has these additional feat ures not available in the t4 dpll: ? a full state machine for automatic transitions among free-run, locked, and holdover states ? nonrevertive reference switching mode ? phase build-out for reference switching (?hitless?) and for phase hits on the selected reference ? output vs. input phase offset control ? 21 bandwidth selections from 0.5mhz to 400hz (vs. three selections for the t4 dpll) ? noise rejection circuitry for low-frequency references ? output phase alignment to input frame-sync signal ? several frequency averaging methods for acquiring the holdover frequency the t4 dpll has these additional feat ures not available in the t0 dpll: ? three bandwidth selections limited to 18hz to 70hz ? optional mode to measure the phase difference between two input clocks
____________________________________________________________________________________________ ds 3102 rev: 102808 18 of 141 typically, the internal state machine controls the t0 dpll, but manual control by system software is also available. the t4 dpll has a simpler state machine that software cannot directly control. in either dpll, however, software can override the dpll logic using manual reference selection. the output and feedback synthesizers are locked to either t he t0 dpll or the t4 dpll. most of the output signals that are locked to the same dpll are always aligned to the falling edge at 2khz. the outputs of the t0 dpll and the t4 dpll can be connected to seven output dfs engines. see figure 7-1 . three of these output dfs engines are associated with hi gh-speed aplls that multiply the dpll clock rate and filter dpll output jitter. the outputs of the aplls are divided down to make a wide variety of possible frequencies available at the output clock pins. t0 apll and t0 apll2 are always locked to the t0 dpll, while the t4 apll can lock to either the t4 dpll or the t0 dpll. the out put frequencies from the t0 dpll can be synchronized to an input 2, 4, or 8khz sync signal (sync1, sync2, or sy nc3 input pins). this synchronization to a low-frequency input enables, among other things, two redundant timing ca rds to maintain output frame-sync alignment with one another. the oc1 to oc7 output clocks can be configured for a va riety of different frequencies that are frequency and phase-locked to either the t0 dpll or the t4 dpll. the oc6 and oc7 outputs are lvds/lvpecl; oc4 and oc5 are available in both lvds/lvpecl and 3.3v cmos; and oc 1 to oc3 are 3.3v cmos. there are five outputs oc1b to oc5b that can be 3.3v or 2.5v cmos outputs. altogether more th an 60 output frequencies are possible, ranging from 2khz to 312.5mhz. the fsync output clock is always 8khz, and the mfsync output clock is always 2khz. 7.2 device identification and protection the 16-bit read-only id field in the id1 and id2 registers is set to 0c1eh = 3102 decimal. the device revision can be read from the rev register. contact the factory to interpret th is value and determine the latest revision. the register set can be protected from inadvertent writes using the prot register. 7.3 local oscillator and master clock configuration the t0 dpll, the t4 dpll, and the output dfs engines operate from a 204. 8mhz master clock. the master clock is synthesized from a 12.800m hz clock originating from a local oscillator attached to the refclk pin. the stability of the t0 dpll in free-run or holdover is equivalent to the stabilit y of the local oscillator. selection of an appropriate local oscillator is therefore of crucial importance if the telecom standards listed in table 1-1 are to be met. simple xos or tcxos can be used in less stringent cases, but ocxos may be required in the most demanding applications. even ocxos may need to be shielded to avoid slow frequency changes due to ambient temperature fluctuations and drift. careful evaluation of the local oscillator component is ne cessary to en sure proper performance. contact maxim at www.maxim-ic.com/support for recommended oscillators. for reference, the telcordia gr-1244-core stability requi rements for stratum 3 are listed in table 7-1 . table 7-1. gr-1244 stratum 3 st ability requirements example parameter stratum 3 temperature 280 x 10 -9 drift (nontemp) 4.63 x 10 -13 /sec ( 40 x 10 -9 /day) note: refer to gr-1244-core for additional details. the stability of the local oscillator is very important, but its absolute frequency accuracy is less important because the dplls can compensate for frequency inaccuracies when synthesizing the 204.8mhz master clock from the local oscillator clock. the mc lkfreq field in registers mclk1 and mclk2 specifies the frequency adjustment to be applied. the adjust can be from -771ppm to +514ppm in 0.0196229ppm (i.e., ~0.02ppm) steps. the ds3102 has a watchdog circuit that causes an interrupt on the intreq pin when the local oscillator attached to the refclk pin is significantly off frequenc y. the watchdog interrupt is not maskable, but is subject to the intcr register settings. when the watchdog circuit activates, reads of any and all registers in the device will return
____________________________________________________________________________________________ ds 3102 rev: 102808 19 of 141 00h to indicate the failure. in response to the activation of the intreq pin or during periodic polling, if system software ever reads 00h from the id registers (which are hard-coded to 0c 1eh = 3102 decimal), it can conclude that the local oscillator attached to that ds3102 has failed. for proper operation of the watchdog timer, connect the wdt pin to a 10k resistor (r) to v ddio and a 0.01 f capacitor (c) to v ss . 7.4 input clock configuration the ds3102 has eight input clocks: ic1 to ic6, ic8, and ic9. table 7-2 provides summary information about each clock, including signal format and available frequencies. the device tolerates a wide range of duty cycles on input clocks, out to a minimum high time or minimum low time of 3ns or 30% of the clock period, whichever is smaller. 7.4.1 signal format configuration inputs with cmos/ttl signal format ac cept both ttl and 3.3v cmos levels. one key configuration bit that affects the available frequencies is the sonsdh bit in mcr3 . when sonsdh = 1 (sonet mode), the 1.544mhz frequency is available. when sonsdh = 0 (sdh mode), the 2.048mhz frequency is available. during reset the default value of this bit is latched from the sonsdh pin. input clocks ic1, ic2, ic5, and ic6 can be configured to accept lvds, l vpecl, or cmos/ttl signals by using the proper set of external components. th e recommended lvds termination is shown in figure 10-1 while the recommended lvpecl termi nation is shown in figure 10-2 . the electrical specifications for these inputs are listed in table 10-4 . to configure these differential inputs to ac cept single-ended cmos/ttl signals, use a voltage- divider to bias the icxneg pin to approximately 1.4v and connect the single-ended signal to the icxpos pin. if a differential input is not used it should be configured left floating (one input is internally pulled high and the other internally pulled low). (see also mcr5 :ic5sf and ic6sf.) table 7-2. input clock capabilities input clock signal formats frequencies (mhz) default frequency ic1 lvds/lvpecl or cmos/ttl up to 156.25 (2) 8khz ic2 lvds/lvpecl or cmos/ttl up to 156.25 (2) 8khz ic3 cmos/ttl up to 125 (1) 8khz ic4 cmos/ttl up to 125 (1) 8khz ic5 lvds/lvpecl or cmos/ttl up to 156.25 (2) 19.44mhz ic6 lvds/lvpecl or cmos/ttl up to 156.25 (2) 19.44mhz ic8 cmos/ttl up to 125 (1) 19.44mhz ic9 cmos/ttl up to 125 (1) 19.44mhz note 1: available frequencies for cmos/ttl input clocks are: 2khz, 4khz, 8khz, 1.544mhz (sonet mode), 2.048mhz (sdh mode), 6.312mhz, 6.48mhz, 19.44mhz, 25.0mhz, 25.92mhz, 38.88mhz, 51.84mhz, 62.5mhz, 77.76mhz, and any multiple of 2khz up to 125mhz. note 2: available frequencies for lvds/lvpecl input clo cks include all cmos/ttl frequencies in note 1 plus any multiple of 8khz up to 155.52mhz and 156.25mhz.
____________________________________________________________________________________________ ds 3102 rev: 102808 20 of 141 7.4.2 frequency configuration input clock frequencies are configured in the freq field of the icr registers. the divn a nd lock8k bits of these same registers specify the locking frequency mode, as shown in table 7-3 . table 7-3. locking frequency modes divn lock8k locking frequency mode 0 0 direct lock 0 1 lock8k 1 0 divn 1 1 alternate direct lock 7.4.2.1 direct lock mode in direct lock mode, the dplls lock to the selected re ference at the frequency specified in the corresponding icr register. direct lock mode can only be used for input cl ocks with these specific fr equencies: 2khz, 4khz, 8khz, 1.544mhz, 2.048mhz, 5mhz, 6.312mhz, 6.48mhz, 19 .44mhz, 25.92mhz, 31.25mhz, 38.88mhz, 51.84mhz, 77.76mhz, and 155.52mhz. for the 155.52mhz case, the inpu t clock is internally divided by two, and the dpll direct-locks at 77.76mhz. the divn mode can be used to divi de an input down to any of these frequencies except 155.52mhz. mtie figures may be marginally better in direct lock mode because the higher frequencies allow more frequent phase updates. 7.4.2.2 alternate direct lock mode alternate direct lock mode is the same as direct lock mode except an alternate list of di rect lock frequencies is used (see the freq field definition in the icr register description). the alternat e frequencies are included to support clock rates found in ethernet, cmts, wireless, and g ps applications. the alternate frequencies are: 10mhz, 25mhz, 62.5mhz, 125mhz, and 156.25mhz. the frequencies 62.5mhz, 125mhz, and 156.25mhz are internally divided down to 31.25mhz, while 10mhz and 25mhz are internally divided down to 5mhz. 7.4.2.3 lock8k mode in lock8k mode, an internal divider is configured to divide the selected reference down to 8khz. the dpll locks to the 8khz output of the divider. lock8k mode can only be used for input clocks with the standard direct lock frequencies: 8khz, 1.544mhz, 2.048mhz, 5mhz, 6.312mhz, 6.48mhz, 19.44mhz, 25.0mhz, 25.92mhz, 31.25mhz, 38.88mhz, 51.84mhz, 62.5mhz, 77.76mhz, and 155.52mhz. lock8k mode is enabled for a particular input clock by setting the lock8k bit in the corresponding icr register. lock8k mode gives a greater tolerance to input jitter when the multicycle phase detector is disabled because it uses lower frequencies for phase comparisons. the cloc k edge to lock to on the selected reference can be configured using the 8kpol bit in the test1 register. for 2khz and 4khz clocks the lock8k bit is ignored and direct-lock mode is used. 7.4.2.4 divn mode in divn mode, an internal divider is configured from the value stored in the divn registers. the divn value must be chosen so that when the selected reference is divided by divn + 1, the resulting clo ck frequency is the same as the standard direct lock frequency selected in the freq field of the icr register. the dpll locks to the output of the divider. divn mode can only be used for input clocks whose frequency is less than or equal to 155.52mhz. the divn register field can range from 0 to 65,535 inclusive. the same divn + 1 factor is used for all input clocks configured for divn mode. note that although the divn divider is able to divide down clock rates as high as 155.52mhz, the cmos/ttl inputs are only rat ed for a maximum clock rate of 125mhz.
____________________________________________________________________________________________ ds 3102 rev: 102808 21 of 141 7.5 input clock monitoring each input clock is continuously monito red for frequency accuracy and activity. frequency monitoring is desribed in section 7.5.1 , while activity monitoring is described in sections 7.5.2 and 7.5.3 . any input clock that has a frequency out-of-band alarm or activity alarm is automatically declared invalid. the valid/invalid state of each input clock is reported in the corresponding real-time status bit in registers valsr1 or valsr2 . when the valid/invalid state of a clock changes, the corresponding latched status bit is set in registers msr1 or msr2 , and an interrupt request occurs if the corresponding inte rrupt enable bit is set in registers ier1 or ier2 . input clocks marked invalid cannot be automatically selected as the reference for ei ther dpll. if the t4 dpll does not have any valid input clocks available, the t4noin status bit is set to 1 in msr3 . 7.5.1 frequency monitoring the ds3102 monitors the frequency of each input cloc k and invalidates any clock whose frequency is outside specified limits. two different monitors are available: the course frequency range monitor and the high-resolution frequency monitor. the course frequency range monitor c an quickly (less than 2ms) determine whether the input clock frequency is within approximately 10,000ppm of t he target frequency. when the frequency range monitor is enabled by setting mcr1 :fren = 1, input clocks with frequency outside the 10,000ppm limit are very quickly disqualified. the high-resolution frequency monitor has two frequency limits that can be specified: a soft limit and a hard limit. for all input clocks except the t0 dpll?s select ed reference, these limits are specified in the ilimit register. for the t0 dpll?s selected reference, the limits are specified in the srlimit register. when the frequency of an input clock is greater than or equal to the soft limit, the corresponding soft alarm bit is set to 1 in the isr registers. the soft limit is only for monitoring; triggering it does not inva lidate the clock. when the frequency of an input clock is greater than or equal to the hard limit, the corr esponding hard alarm bit is set to 1 in the 4 isr registers, and the clock is marked invalid in the valsr registers. monitoring according to the hard and soft limits is enabled/disabled using the harden and soften bits in the mcr10 register. both the ilimit and srlimit registers have a default soft limit of 11.43ppm and a default hard limit of 15.24ppm. limits can be set from 3.81ppm to 60.96ppm in 3.81ppm steps. both the soft and hard alarm limits have hysteresis as requi red by gr-1244. frequency monitoring is only done on an input clock when the clock does not have an activity alarm. frequency measurements can be done with respect to the inte rnal 204.8mhz master clock or the t0 dpll internal frequency, as specified by the fmonclk bit in mcr10 . measured frequency can be read from any frequency monitor by specifying the input clock in the fmeasin field of mcr11 and reading the frequency from the fmeas register. 7.5.2 activity monitoring each input clock is monitored for activity and proper behavior using a leaky bucket accumulator. a leaky bucket accumulator is similar to an analog integrator: the out put amplitude increases in the presence of input events and gradually decays in the absence of events. when event s occur infrequently, the accumulator value decays fully between events and no alarm is declared. when events occu r close enough together, the accumulator increments faster than it can decay and eventually reaches the alarm threshold. after an alarm has been declared, if events occur infrequently enough, the accumulator can decay fast er than it is incremented and eventually reaches the alarm clear threshold. the leaky bucket events come from the frequency range and fast activity monitors. the leaky bucket accumulator for each input clock can be assigned one of four configurations (0 to 3) in the bucket field of the icr registers. each leaky bucket configuration has programmable size, alarm declare threshold, alarm clear threshold, and decay rate, all of which are specified in the lbxy registers. activity monitoring is divided into 128ms intervals. the ac cumulator is incremented once for each 128ms interval in which the input clock is inactive for more than two cycles (more than four cycles for 155.52mhz, 156.25mhz, 125mhz, 62.5mhz, 25mhz, and 10mhz input clocks). thus the ?fi ll? rate of the bucket is at most 1 unit per 128ms, or approximately 8 units/second. during each period of 1, 2, 4, or 8 intervals (programmable), the accumulator
____________________________________________________________________________________________ ds 3102 rev: 102808 22 of 141 decrements if no irregularities occur. thus the ?leak? rate of the bucket is approximately 8, 4, 2, or 1 units/second. a leak is prevented when a fill event occurs in the same interval. when the value of an accumulator reaches the alarm threshold ( lbxu register), the corresponding act alarm bit is set to 1 in the 4 isr registers, and the clock is marked invalid in the valsr registers. when the value of an accumulator reaches the alarm clear threshold ( lbxl register), the activity alarm is cleared by clearing the clock?s act bit. the accumulator cannot increment past the size of the bucket specified in the lbxs register. the decay rate of the accumulator is specified in the lbxd register. the values stored in the leaky bucket configuration registers must have the following relationship at all times: lbxs lbxu > lbxl . when the leaky bucket is empty, the minimum time to declare an activity alarm in seconds is lbxu / 8 (where the x in lbxu is the leaky bucket configuration number 0 to 3). the minimum time to clear an activity alarm in seconds is 2^lbxd * (lbxs ? lbxl) / 8. for example, assume lbxu = 8, lbxl = 1, lbxs = 10, and lbxd = 0. the minimum time to declare an activity alarm would be 8 / 8 = 1 second. the minimum time to clear the activity alarm would be 2^0 * (10 ? 1) / 8 = 1.125 seconds. 7.5.3 selected reference activity monitoring the input clock that each dpll is cu rrently locked to is called the select ed reference. the quality of a dpll?s selected reference is exceedingly important, since missing cycles and other anomalies on the selected reference can cause unwanted jitter, wander, or frequency offset on the output clocks. when anomalies occur on the selected reference they must be detected as soon as possible to give the dpll opportunity to temporarily disconnect from the reference until the reference is available again. by design, the regular input clock activity monitor (section 7.5.2 ) is too slow to be suitable for monitoring the selected reference. instead, each dpll has its own fast activity monitor that detects that the frequency is within ran ge (approximately 10,000ppm) and detects inactivity within approximately two missing reference cl ock cycles (approximately four miss ing cycles for 156.25mhz, 155.52mhz, 125mhz, 62.5mhz, 25mhz, and 10mhz references). when the t0 dpll detects a no-activity event, it immediat ely enters mini-holdover mode to isolate itself from the selected reference and sets the srfail latched status bit in msr2 . the setting of the srfail bit can cause an interrupt request if the corresponding enable bit is set in ier2 . if mcr10 :srfpin = 1, the srfail output pin follows the state of the srfail status bit. optionally, a no- activity event can also cause an ultra-fast reference switch (see section 7.6.4 ). when phlim1 :nalol = 0 (default), the t0 dpll does not declare loss-of-lock during no-activity events. if the selected reference becomes avail able again before any alarms are declared by the activity monitor, the t0 dpll continues to track the selected reference using nearest edge locking ( 180 ) to avoid cycle slips. when nalol = 1, the t0 dpll declares loss-of-lo ck during no-activity events. this causes the t0 dpll state machine to transition to the loss-of-lock state, which sets the msr2 :state bit and causes an interrupt request if enabled. if the selected reference becomes avail able again before any alarms ar e declared by the activity monitor, the t0 dpll tracks the selected reference using phase/frequency locking ( 360 ) until phase lock is reestablished. when the t4 dpll detects a no-activity event, its behav ior is similar to the t0 dpll with respect to the phlim1 :nalol control bit. unlike the t0 dpll, however, t he t4 dpll does not set the srfail status bit. if nalol = 1, the t4 dpll clears the opstate :t4lock status bit, which sets msr3 :t4lock and causes an interrupt request if enabled.
____________________________________________________________________________________________ ds 3102 rev: 102808 23 of 141 7.6 input clock priority, selection, and switching 7.6.1 priority configuration during normal operation, the selected reference for t he t0 dpll and the selected reference for the t4 dpll are chosen automatically based on the priori ty rankings assigned to the input cloc ks in the input priority registers ( ipr1 to ipr5 ). each of these registers has priority fields fo r one or two input clocks. when t4t0 = 0 in the mcr11 register, the ipr registers specify the input clock prioriti es for the t0 dpll. when t4t0 = 1, the ipr registers specify the input clock priorities for the t4 dpll. the def ault input clock priorities, for both plls, are shown in table 7-4 . any unused input clock should be given the priority value 0, which disables the clock and marks it as unavailable for selection. priority 1 is highest while priority 15 is lowest. the same priority can be given to two or more clocks. table 7-4. default in put clock priorities input clock t0 dpll default priority t4 dpll default priority ic1 0 (off) 0 (off) ic2 1 1 ic3 2 2 ic4 3 3 ic5 0 (off) 0 (off) ic6 0 (off) 0 (off) ic8 4 5 ic9 5 0 (off) 7.6.2 automatic selection algorithm the real-time valid/invalid state of eac h input clock is maintained in the valsr1 and valsr2 registers. the selected reference can be marked invalid for phase lock , frequency, or activity. other input clocks can be invalidated for frequency or activity. the reference selection algorithm for each dpll chooses th e highest priority valid input clock to be the selected reference. to select the proper input cl ock based on these criteria, the selection algorithm maintains a priority table of valid inputs. the top three entries in this t able and the selected reference are displayed in the ptab1 and ptab2 registers. when t4t0 = 0 in the mcr11 register, these registers indicate the highest priority input clocks for the t0 dpll. when t4t0 = 1, they indicate t he highest priority input clocks for the t4 dpll. if two or more input clocks are given the same priority number, those inputs are prioritized among themselves using a fixed circular list. if one equal-priority clock is the select ed reference but becomes invalid, the next equal-priority clock in the list becomes the selected reference. if an equal-priority clock that is not the selected reference becomes invalid, it is simply skipped over in the circular list. the selection among equal-priority inputs is inherently nonrevertive, and revertive switching mode (see next paragraph ) has no effect in the case where multiple equal- priority inputs have the highest priority. an important input to the selection algorith m for the t0 dpll is the revert bit in the mcr3 register. in revertive mode (revert = 1), if an input clock with a higher priority than the selected reference becomes valid, the higher priority reference immediat ely becomes the selected reference. in nonrevertive mode (revert = 0), the higher priority reference does not immediately become the sele cted reference but does become the highest priority reference in the priority table (ref1 field in the ptab1 register). (the selection algorithm always switches to the highest priority valid input when the se lected reference goes invalid, regardless of the state of the revert bit.) for many applications, nonrevertive mode is preferred for t he t0 dpll because it minimizes disturbances on the output clocks due to reference switching. the t4 dpll always operates in revertive mode.
____________________________________________________________________________________________ ds 3102 rev: 102808 24 of 141 in nonrevertive mode, planned switchover to a newly va lid higher priority input clock can be done manually under software control. the validation of the new higher pr iority clock sets the corre sponding status bit in the msr1 or msr2 register, which can drive an interrupt request on the intreq pin if needed. system software can then respond to this change of state by briefly enabling re vertive mode (toggling revert high then back low) to drive the switchover to the higher priority clock. in most systems redundant timing card s are required, with one functioning as the master and the other as the slave. in such systems the priority t ables of the master and slave must matc h. the register set makes it easy for the slave?s priority table to tr ack the master?s table. at sy stem start-up, the same priori ties must be assigned to the input clocks, for both dplls, in the master and slave dev ices. during operation, if an input clock becomes valid or invalid in one device (master or slave) , the change is flagged in that device?s msr1 or msr2 register, which can drive an interrupt request on the intreq pin if needed. the re al-time valid/invalid state of the input clocks can then be read from that device?s valsr1 and valsr2 registers. once the nature of the state change is understood, the control bits of the other device?s valcr1 and valcr2 registers can be manipulated to mark clocks invalid in the other device as well. 7.6.3 forced selection the t0force field in the mcr2 register and the t4force field in the mcr4 register provide a way to force a specified input clock to be the selected reference for the t0 and t4 dplls, respectively. in both t0force and t4force, values of 0 and 15 specify normal operation with automatic reference selection. values from 1 to 6 and 8 and 9 specify the input clock to be the forced selection; other values will cause no input to be selected. internally, forcing is accomplished by giving the specified clock the highest priority (as specified in ptab1 :ref1). in revertive mode ( mcr3 :revert = 1) the forced clock automatically beco mes the selected reference (as specified in ptab1 :selref) as well. in nonrevertive mode (t0 dpll only) the forced clock only becomes the selected reference when the existing selected reference is invali dated or made unavailable for selection. in both revertive and nonrevertive modes when an input is forced to be the highest priority, the normal highest priority input (when no input is forced) is listed as the second-highest priority ( ptab2 :ref2) and the normal second-highest priority input is listed as the third-highest priority ( ptab2 :ref3). when the t4 dpll is used to measure the phase differe nce between the t0 dpll selected reference and another reference input by setting the t0cr1 :t4mt0 bit, the t4force field in the mcr4 register can be used to select the other reference input. 7.6.4 ultra-fast reference switching by default, disqualification of the select ed reference and switchover to another reference occurs when the activity monitor?s inactivity alarm threshold has been crossed, a process that takes on the order of hundreds of milliseconds or seconds. for the t0 dpll, an option for extremely fast disqualificat ion and switchover is also available. when ultra-fast switching is enabled ( mcr10 :ufsw = 1), if the fast activity monitor detects approximately two missing clock cycles, it declares the refe rence failed by forcing the leaky bucket accumulator to its upper threshold (see section 7.5.2 ) and initiates reference switching. this is in addition to setting the srfail latched status bit in msr2 and optionally generating an interrupt request, as described in section 7.5.3 . when ultra-fast switching occurs, the t0 dpll transitions to the prelocked 2 state, which allows switching to occur faster by bypassing the loss-of-lock state. the device should be in nonrevertive mode when ultra-fast switching is enabled. if the device is in revertive mode, ultra-fast swit ching could cause excessive reference switching when the highest priority input is intermittent. 7.6.5 external reference switching mode in this mode the srcsw input pin controls reference swit ching between two clock inputs. this mode is enabled by setting the extsw bit to 1 in the mcr10 register. in this mode, if the srcsw pin is high, the t0 dpll is forced to lock to input ic3 (if the priority of ic3 is nonzero in ipr2 ) or ic5 (if the priority of ic3 is zero) whether or not the selected input has a valid reference signal. if the srcsw pin is low, the t0 dpll is forc ed to lock to input ic4 (if the priority of ic4 is nonzero in ipr2 ) or ic6 (if the priority of ic4 is zero) whether or not the selected input has a valid reference signal. during reset the default value of the extsw bit is latched from the srcsw pin. if external reference switching mode is enabled during reset, the default frequency tolerance ( dlimit registers) is configured to 80ppm rather than the normal default of 9.2ppm.
____________________________________________________________________________________________ ds 3102 rev: 102808 25 of 141 in external reference switching mode the device is simply a clock switch, and the t0 dpll is forced to lock onto the selected reference whether it is valid. unlike forced reference selection (section 7.6.3 ) this mode controls the ptab1 :selref field directly and is, therefor e, not affected by the state of the mcr3 :revert bit. during external reference switching mode, only ptab1 :selref is affected; the ref1, ref2, and ref3 fields in the ptab registers continue to indicate the highest, second-highes t, and third-highest priority valid inputs chosen by the automatic selection logic. external refer ence switching mode only affects the t0 dpll. 7.6.6 output clock phase cont inuity during reference switching if phase build-out is enabled (pboen = 1 in mcr10 ) or the dpll frequency limit ( dlimit ) is set to less than 30ppm, the device always complies with the gr-1244-core requirement that the rate of phase change must be less than 81ns per 1.326ms during reference switching.
____________________________________________________________________________________________ ds 3102 rev: 102808 26 of 141 7.7 dpll architecture and configuration both t0 and t4 are digital plls with separate analog plls (aplls) as the output stage. this architecture combines the benefits of both pll types. see figure 7-1 . figure 7-1. dpll block diagram t0 dpll t4 dpll locking frequency t0 pfd and loop filter t0 foward dfs t0 feedback dfs dig12 dfs t0 selected reference oc1, oc2, oc3, oc4, oc5, oc6, oc7 t4 foward dfs t4 feedback dfs t4 pfd and loop filter locking frequency t4 selected reference t0cr1:t0freq[2:0] ocrm:ofreqn[3:0] ocr5:aofn t0cr1:t4apt0 t0cr1:lkt4t0 t0cr1:t4mt0 t4cr1:t4freq[3:0] t0cr1:t0ft4[2:0] fscr1:2k8ksrc t0cr1:lkt4t0 1 0 apll output dividers t0 output apll t0 apll dfs apll output dividers t4 output apll t4 apll dfs dig12 dfs 2k8k dfs mcr6:dig2ss mcr6:dig2f[1:0] mcr6:dig2af mcr6:dig1ss mcr6:dig1f[1:0] mcr7:dig1src t0cr1:lkt4t0 mcr7:dig2src t0cr1:lkt4t0 output dfs fsync dfs sync2k sync2k fscr2:indep dig2 dig1 2k8k icrn:freq[3:0] icrn:freq[3:0] apll output dividers t0 output apll2 t0 apll2 dfs 2 2 fsync, mfsync ocr4:fsen, mfsen fscr1:8kinv, 2kinv fscr1:8kpol, 2kpol pll bypass
____________________________________________________________________________________________ ds 3102 rev: 102808 27 of 141 digital plls have two key benefits: (1) stable, repeatable perform ance that is insensitive to process variations, temperature, and voltage; and (2) flexible behavior that is easily programmed th rough the configur ation registers. dplls use digital frequency synthesis (dfs) to generate various clocks. in dfs a high-speed master clock (204.8mhz) is multiplied up from the 12.800mhz local oscill ator clock applied to the refclk pin. this master clock is then digitally divided down to the desired output frequency. the dfs output clock has jitter of about 1ns pk- pk. the analog plls filter the jitter from the dplls, reduci ng the 1ns pk-pk jitter to less than 0.5ns pk-pk and 60ps rms, typical, measured broadband (10hz to 1ghz). the dplls in the device are configurable for many p ll parameters including bandwidth, damping factor, input frequency, pull-in/hold-in range, input-to-output phase o ffset, phase build-out, and more. no knowledge of loop equations or gain parameters is required to configur e and operate the device. no external components are required for the dplls or the aplls ex cept the high-quality local oscillator connected to the refclk pin. the t0 dpll to t0 apll path is the main path th rough the device. the t0 dpll has a full free- run/locked/holdover state machine and full programmability. the t4 dpll to t4 apll path is a simpler frequency converter/synthesis path, lacking the low bandwidth setting s, phase build-out, and phase adjustment controls found in the t0 dpll. 7.7.1 t0 dpll state machine the t0 dpll has three main timing modes: locked, holdov er, and free-run. the control state machine for the t0 dpll has states for each timing mode as well as three te mporary states: prelocked, prelocked 2, and loss-of-lock. the state transition diagram is shown in figure 7-2 . descriptions of each state are given in the paragraphs below. during normal operation the state machine controls state transitions. when necessary, however, the state can be forced using the t0state field of the mcr1 register. whenever the t0 dpll changes state, the state bit in msr2 is set, which can cause an interrupt request if enabled. the current t0 dpll state can be read from the t0state field of the opstate register. 7.7.1.1 free-run state free-run mode is the reset default st ate. in free-run all output clocks are derived from the 12.800mhz local oscillator attached to the refclk pin. the frequency of each ou tput clock is a specific multiple of the local oscillator. the frequency accuracy of each output clo ck is equal to the frequency ac curacy of the master clock, which can be calibrated using the mclkfreq field in registers mclk1 and mclk2 (see section 7.3 ). the state machine transitions from free-run to the prelock ed state when at least one input clock is valid. 7.7.1.2 prelocked state the prelocked state provides a 100 -second period (default value of phlkto register) for the dpll to lock to the selected reference. if phase lock (see section 7.7.6 ) is achieved for 2 seconds du ring this period, the state machine transitions to locked mode. if the dpll fails to lock to the selected referenc e within the phase-lock timeout period specified by phlkto , a phase-lock alarm is raised (corresponding lock bit set in the isr register), invalidating t he input (icn bit goes low in valsr registers). if another input clock is valid, the state machine re-enters the prelocked state and tries to lock to the alternate input clock. if no other input clocks are valid for two seconds, the state machine transitions back to the free-run state. in revertive mode (revert = 1 in mcr3 ), if a higher priority input clock becomes valid during the phase-lock timeout period, the state machine re-e nters the prelocked state and tries to lock the higher priority input. if a phase-lock timeout period longer than 100 seconds is required for locking, the phlkto register must be configured accordingly.
____________________________________________________________________________________________ ds 3102 rev: 102808 28 of 141 figure 7-2. t0 dpll state transition diagram free-run select ref (001) prelocked wait for 100s (110) reset all input clocks evaluated at least one input valid (selected reference invalid > 2s or out of lock >100s) and no valid input clock locked (100) phase-locked to selected reference > 2s loss-of-lock wait for 100s (111) holdover select ref (010) loss-of-lock on selected reference phase-lock regained on selected reference within 100s prelocked 2 wait for 100s (101) (selected reference invalid > 2s or out of lock >100s) and no valid input clock available [selected reference invalid or (revertive mode and valid higher-priority input) or out of lock >100s] and valid input clock available [selected reference invalid or out of lock >100s or (revertive mode and valid higher priority input)] and valid input clock available [selected reference invalid or out of lock >100s or (revertive mode and valid higher priority input)] and valid input clock available (selected reference invalid > 2s or out of lock >100s) and no valid input clock available all input clocks evaluated at least one input valid selected reference invalid > 2s and no valid input clock available [selected reference invalid or (revertive mode and valid higher-priority input)] and valid input clock available phase-locked to selected reference > 2s note 1: an input clock is valid when it has no activity alarm, no hard frequency limit alarm, and no phase-lock alarm (see the valsr registers and the isr registers). note 2: all input clocks are continuously m onitored for activity and frequency. note 3: only the selected reference is monitored for loss-of-lock. note 4: phase lock is declared internally when the dpll has maintai ned phase lock continuously for approximately 1 to 2 seconds. note 5: to simply the diagram, the phase-lock timeout period is always shown as 100s, which is the default value of the phlkto register. longer or shorter timeout per iods can be specified as needed by wr iting the appropriate value to the phlkto register. note 6: when selected reference is invalid and the dpll is not in fr ee-run or holdover, the dpll is in a temporary holdover state.
____________________________________________________________________________________________ ds 3102 rev: 102808 29 of 141 7.7.1.3 locked state the t0 dpll state machine can reach the locked state from the prelocked, prelocked 2, or loss-of-lock states when the dpll has locked to the selected reference for at least 2 seconds (see section 7.7.6 ). in the locked state the output clocks track the phase and fr equency of the selected reference. if the mcr1 .lockpin bit is set, the lock pin is driven hi gh when the t0 dpll is in the locked state. while in the locked state, if the selected reference is so impaired that an activity alarm or a hard frequency limit alarm is raised (corresponding act bit set in the isr register), the selected referenc e is invalidated (icn bit goes low in valsr registers), and the state machine immediately transi tions to either the prel ocked 2 state (if another valid input clock is available) or, after being invalid for 2 seconds, to the holdover state (if no other input clock is valid). if loss-of-lock (see section 7.7.6 ) is declared while in the locked state, t he state machine transitions to the loss-of- lock state. 7.7.1.4 loss-of-lock state when the loss-of-lock detectors (see section 7.7.6 ) indicate loss-of-lock, the state machine immediately transitions from the locked state to the loss-of-lock state. in the loss-of-lock state the dp ll tries for 100 seconds (default value of phlkto register) to regain phase lock. if phase lock is regained during that period for more than 2 seconds, the state machine transitions bac k to the locked state. if during the phase-lock timeout period specified by phlkto the selected reference is so impaired that an activity alarm or a hard frequency limit alarm is raised (corresponding act bit or hard bit set in the isr registers), the selected reference is invalidated (icn bit goes low in valsr registers), and after being invalid for 2 seconds the state machine transitions to either t he prelocked 2 state (if another valid input clock is available) or the holdover state (if no other input clock is valid). if phase lock cannot be regained by the end of the phase -lock timeout period, a phase-lock alarm is raised (corresponding lock bit set in the isr registers), the selected reference is invalidated (icn bit goes low in valsr registers), and the state machine transiti ons to either the prelocked 2 state (if another valid input clock is available) or, after being invalid for 2 seconds, to the holdover state (if no other input clock is valid). 7.7.1.5 prelocked 2 state the prelocked and prelocked 2 states are similar. the pr elocked 2 state provides a 100-second period (default value of phlkto register) for the dpll to lock to the new selected reference. if phase lock (see section 7.7.6 ) is achieved for more than 2 seconds during this period, the state machine transitions to locked mode. if the dpll fails to lock to the new selected referenc e within the phase-lock timeout period specified by phlkto , a phase-lock alarm is raised (corresponding lock bit set in the isr registers), invalidating the input (icn bit goes low in valsr registers). if another input clock is valid, the stat e machine re-enters the prelocked 2 state and tries to lock to the alternate input clock. if no other input cloc ks are valid for 2 seconds, the state machine transitions to the holdover state. in revertive mode (revert = 1 in mcr3 ), if a higher priority input clock becomes valid during the phase-lock timeout period, the state machine re-ent ers the prelocked 2 state and tries to lock to the higher priority input. if a phase-lock timeout period longer than 100 seconds is required for locking, the phlkto register must be configured accordingly. 7.7.1.6 holdover state the device reaches the holdov er state when it declares its selected re ference invalid for 2 seconds and has no other valid input clocks available. during holdover the t0 dpll is not phase-locked to any input clock but instead generates its output frequency from stored frequency informat ion, which is typically the averaged frequency of the
____________________________________________________________________________________________ ds 3102 rev: 102808 30 of 141 dpll when it was in the locked state. the device can be configur ed for manual or automatic holdover as described in the following subsections. when at least one input cloc k has been declared valid, the state machine immediately transitions from holdover to the prelocked 2 state and tries to lock to the highest priority valid clock. 7.7.1.6.1 automatic holdover for automatic holdover (frunho = 0 in mcr3 ), the device can be further conf igured for instantaneous mode or averaged mode. in instantaneous mode (avg = 0 in hocr3 ), the holdover frequency is set to the dpll?s current frequency 50ms to 100ms before entry into holdover (i.e., the value of the freq field in the freq1 , freq2 , and freq3 registers when mcr11 :t4t0 = 0). the freq field is the dpll?s inte gral path and, therefore, is an average frequency with a rate of change inversely proportional to the dpll bandwidth. the dpll?s proportional path is not used in order to minimize the effect of recent phase disturbances on the holdover frequency. in averaged mode (avg = 1 in hocr3 and manho = 0 in mcr3 ), the holdover frequency is set to an internally averaged value. during locked operation the frequency indicated in the freq field is internally averaged. the fast bit in hocr3 determines the period of this av eraging. when fast = 1, the frequency is averaged for a period of approximately 8 minutes. when fast = 0 (slow), the frequency is averaged for a period of approximately 110 minutes. the t0 dpll indicates that it has acquir ed valid holdover values by setting the fhordy and shordy status bits in valsr2 (real-time status) and msr4 (latched status). if fast = 0 and the t0 dpll must enter holdover before the 110-minute average is available, the 8-minute average is used, if available. otherwise, the instantaneous value from the integral path is used . if fast = 1 and the t0 dpll must enter holdover before the 8-minute average is available, an in stantaneous value of 50ms to 100ms old from the integral path is used instead. 7.7.1.6.2 manual holdover for manual holdover (manho = 1 in mcr3 ), the holdover frequency is set by the hofreq field in the hocr1 , hocr2 , and hocr3 registers. the hofreq field has the same si ze and format as the current frequency field (freq[18:0] in the freq1 , freq2 , and freq3 registers). if desired, software c an, during locked operation, read the current frequency from freq, filter or average it over time, and writ e the resulting holdover frequency to hofreq. the freq field is derived from the dpll?s integral path, and thus c an be considered an average frequency with a rate of change inversely proportional to the dpll bandwidth. to combine internal averaging with additional software f iltering, the hofreq field can be configured to read out the internally averaged frequency when rdavg = 1 in the hocr3 register. this averaged value can be read from hofreq regardless of the current holdover mode. the fast bit in hocr3 specifies whether the value read is from the fast averager or the slow averager. 7.7.1.7 mini-holdover when the selected reference fails, t he fast activity monitor (section 7.5.3 ) isolates the t0 dpll from the reference within one or two clock cycles to avoid adverse effects on the dpll frequency. when this fast isolation occurs, the dpll enters a temporary mini-holdover mode, with a frequency as specified by the miniho field of hocr3 . mini- holdover lasts until the selected reference returns or a ne w input clock has been chosen as the selected reference or the state machine enters the holdover state. if the manual holdover mode is set (manho = 1 in mcr3 ), the miniho field of hocr3 is ignored and the mini-holdover frequency is the same as the manual holdover frequency. 7.7.2 t4 dpll state machine the t4 dpll state machine is similar to the t0 dpll, as shown in figure 7-3 . the t4 dpll states are similar to the equivalent states of the t0 dpll, but the only state indicator is the t4lock bit in the opstate register. note that the t4 dpll only operates in revertive switchi ng mode. the full-holdover and mini-holdover modes are instantaneous (see the first paragraph of section 7.7.1.6.1 ).
____________________________________________________________________________________________ ds 3102 rev: 102808 31 of 141 figure 7-3. t4 dpll state transition diagram free-run prelocked reset selected reference active selected reference inactive > 2s locked phase-locked to selected reference > 2s loss-of-lock holdover loss-of-lock on selected reference phase-lock regained on selected reference > 2s prelocked 2 selected reference inactive > 2s selected reference switch selected reference inactive > 2s selected reference active selected reference inactive > 2s selected reference switch selected reference phase-locked > 2s
____________________________________________________________________________________________ ds 3102 rev: 102808 32 of 141 7.7.3 bandwidth the bandwidth of the t4 dpll is configured in the t4bw register to be 18hz to 70hz. the bandwidth of the t0 dpll is configured in the t0abw and t0lbw registers for various values from 0.5mhz to 400hz. the autobw bit in the mcr9 register controls automatic bandwid th selection. when autobw = 1, the t0 dpll uses the t0abw bandwidth during acquisiti on (not phase-locked) and the t0lbw bandwidth when phase-locked. when autobw = 0 the t0 dpll uses the t0lbw bandwidth all the time, both during acquisition and when phase-locked. when limint = 1 in the mcr9 register, the dpll?s integral path is lim ited (i.e., frozen) when the dpll reaches minimum or maximum frequency. setting limint = 1 minimizes overshoot when the dpll is pulling in. 7.7.4 damping factor the damping factor for the t0 dpll is configured in the damp field of the t0cr2 register, while the damping factor of the t4 dpll is conf igured in the damp field of the t4cr2 register. the reset default damping factors for both dplls are chosen to give a maximum jitter/wander gain peak of approximately 0.1db. available settings are a function of dpll bandwidth (configured in the t4bw , t0abw , and t0lbw registers). see table 7-5 . table 7-5. damping factors and peak jitter/wander gain bandwidth (hz) damp[2:0] value damping factor gain peak (db) 0.5m to 4 1, 2, 3, 4, 5 5 0.1 1 2.5 0.2 8 2, 3, 4, 5 5 0.1 1 1.2 0.4 2 2.5 0.2 18 3, 4, 5 5 0.1 1 1.2 0.4 2 2.5 0.2 3 5 0.1 35 4, 5 10 0.06 1 1.2 0.4 2 2.5 0.2 3 5 0.1 4 10 0.06 70 to 400 5 20 0.03 7.7.5 phase detectors phase detectors are used to compare a pll?s feedback cloc k with its input clock. several phase detectors are available in the t0 and t4 dplls: ? phase/frequency detector (pfd) ? early/late phase detector (pd2) for fine resolution ? multicycle phase detector (mcpd) for large i nput jitter tolerance and/or faster lock times these detectors can be used in combination to give fine ph ase resolution combined with large jitter tolerance. as with the rest of the dpll logic, the phase detectors operate at input frequencies up to 77.76mhz. the multicycle phase detector detects and remembers phase differences of many cycles (up to 8191ui). when locking to 8khz or lower, the normal phase/frequency detectors are always used.
____________________________________________________________________________________________ ds 3102 rev: 102808 33 of 141 the t0 dpll phase detectors can be configured for normal phase/frequency locking ( 360 capture) or nearest edge phase locking ( 180 capture). with nearest edge detection the phase detectors are immune to occasional missing clock cycles. the dpll automatically switches to nearest edge locking when the multicycle phase detector is disabled and the other phase detectors determine that phase lock has been achieved. setting d180 = 1 in the test1 register disables nearest edge locking and forces the t0 dpll to use phase/frequency locking. the t4 dpll always has nearest edge locking enabled. the early/late phase detector, also known as phase detecto r 2, is enabled and configured in the pd2 fields of registers t0cr2 and t0cr3 for the t0 dpll and registers t4cr2 and t4cr3 for the t4 dpll. the reset default settings of these registers are appropri ate for all operating modes. adjustment s only affect small signal overshoot and bandwidth. the multicycle phase detector is enabled by setting mcpden = 1 in the phlim2 register. the range of the mcpd?from 1ui up to 8191ui?is configured in the coarselim field of phlim2 . the mcpd tracks phase position over many clock cycles, giving high jitter tolerance. thus, the use of the mcpd is an alternative to the use of lock8k mode for jitter tolerance. when a dpll is dire ct locking to 8khz, 4khz, or 2khz, or in lock8k mode, the multicycle phase detector is automatically disabled. when usemcpd = 1 in phlim2 , the mcpd is used in the dpll loop, givi ng faster pull-in but more overshoot. in this mode the loop has similar behavior to lock8k mode. in both cases large phase differences contribute to the dynamics of the loop. when enabled by mcpden = 1, the mcpd tracks the phase position whether or not it is used in the dpll loop. when the input clock is divided before being sent to the phase detector, the divider output clock edge gets aligned to the feedback clock edge before the dpll starts to lock to a new input clock signal or after the input clock signal has a temporary signal loss. this helps ensure locking to the nearest input clock edge, which reduces output transients and decreases lock times. 7.7.6 loss-of-lock detection loss-of-lock can be trigger ed by any of the following in both the t0 and t4 dplls: ? the fine phase-lock detector (measures phase between input an d feedback clocks) ? the coarse phase-lock detector (measures whole cycle slips) ? hard frequency limit detector ? inactivity detector the fine phase-lock detector is enabled by setting flen = 1 in the phlim1 register. the fine phase limit is configured in the finelim field of phlim1 . the coarse phase-lock detector is enabled by setting clen = 1 in the phlim2 register. the coarse phase limit is configured in the coarselim field of phlim2 . this coarse phase-lock detector is part of the multicycle phase detector (mcpd) described in section 7.7.5 . the coarselim field sets both the mcpd range and the coarse phase limit, since the two are equivalent. if loss-of-lock s hould not be declared for multiple-ui input jitter, the fine phase-lock detector should be dis abled and the coarse phase-lock detector should be used instead. the hard frequency limit detector is enabled by setting fllol = 1 in the dlimit3 register. the hard limit for the t0 dpll is configured in registers dlimit1 and dlimit2 . the t4 dpll hard limit is fixed at 80ppm. when the dpll frequency reaches the hard limit, loss-of-lock is declared. the dlimit3 register also has the softlim field to specify a soft frequency limit. exceeding the soft frequency lim it does not cause loss-of-lock to be declared. when the t0 dpll frequency reaches the soft limit, the t0soft status bit is set in the opstate register. when the t4 dpll frequency reaches the soft limit, the t4soft status bit is set in opstate . both the soft and hard alarm limits have hysteresis as required by gr-1244. the inactivity detector is enabled by setting nalol = 1 in the phlim1 register. when this detector is enabled the dpll declares loss-of-lock after one or two missing clock cycles on the select ed reference. see section 7.5.3 .
____________________________________________________________________________________________ ds 3102 rev: 102808 34 of 141 when the t0 dpll declares loss-of-lock, the state machine immediately transiti ons to the loss-of-lock state, which sets the state bit in the msr2 register and requests an interrupt if enabled. when the t4 dpll declares loss-of-lock, the t4lock bit is cleared in the opstate register, which sets the t4lock bit in the msr3 register and requests an interrupt if enabled. 7.7.7 phase build-out 7.7.7.1 automatic phase build-out in response to reference switching when mcr10 :pboen = 0, phase build-out is not performed duri ng reference switching. the t0 dpll always locks to the selected reference at zero degrees of phase. with pbo disabled, transitions from a failed reference to the next highest priority reference and transitions from holdover or free-run to locked mode cause phase transients on output clocks as the t0 dpll jumps from its previous phase to the phase of the new selected reference. when mcr10 :pboen = 1, phase build-out is performed during refe rence switching (or exiting from holdover). with pbo enabled, if the selected reference fails and another valid reference is available, the device enters a temporary holdover state in which the phase difference between the new reference and the output is measured and fed into the dpll loop to absorb the input phase difference. sim ilarly, during transitions from full holdover, mini-holdover, or free-run to locked mode, the phase difference between the new reference and the output is measured and fed into the dpll loop to absorb the input phase differen ce. after a pbo event, regardless of the input phase difference, the output phase transient is less than or equal to 5ns. any time that pbo is enabled it can also be frozen at the current phase offset by setting mcr10 :pbofrz = 1. when pbo is frozen, the t0 dpll ignores subsequent phase build-out events and maintains the current phase offset between inputs and outputs. disabling pbo while the t0 dpll is not in the free-run or holdover states (locking or locked) causes a phase change on the output clocks while the dpll switches to tracking the selected reference with zero degrees of phase error. the rate of phase change on the output cloc ks depends on the dpll bandwidth. enabling pbo (which includes unfreezing) while locking or locked also causes a pbo event. 7.7.7.2 pbo phase o ffset adjustment an uncertainty of up to 5ns is introduced each time a pha se build-out event occurs. this uncertainty results in a phase hit on the output. over a large number of phas e build-out events the mean error should be zero. the pboff register specifies a small fixed offset for each phase bu ild-out event to skew the average error toward zero and eliminate accumulation of phase shifts in one direction. 7.7.8 input to output (manual) phase adjustment when phase build-out is disabled (pboen = 0 in mcr10 ), the offset registers can be used to adjust the phase of the t0 dpll output clocks with respect to the sele cted reference when locked. output phase offset can be adjusted over a 200ns range in 6ps increments. this phase adjustm ent occurs in the feedback clock so that the output clocks are adjusted to compensate. the rate of ch ange is therefore a function of dpll bandwidth. simply writing to the offset registers with phase build-out disabled causes a change in the input to output phase, which can be considered to be a delay adjustment. changing the offset adjustment while in free-run or holdover state does not cause an output phase offset until it exit s the state and enters one of the locking states. 7.7.9 phase recalibration when a phase buildout occurs, either automatic or m anual, the feedback frequency sy nthesizer does not get an internal alignment signal to keep it aligned with the output dividers, and, therefore, the phase difference between input and output can become incorrect. setting the fscr3 :recal bit periodically causes a recalibration process to be executed, which corrects any phase error that may have occurred.
____________________________________________________________________________________________ ds 3102 rev: 102808 35 of 141 during the recalibration process the device puts the dpll into mini-holdover, internally ramps the phase offset to zero, resets all clock dividers, ramps the phase offset to the value stored in the offset registers, and switches the dpll out of mini-holdover. if the offset registers are written during the recalibration process, the process ramps the phase offset to the new offset value. 7.7.10 frequency and p hase measurement when the t4 dpll is not needed to generate an output fr equency locked to an input clock, it can measure precise frequency by locking onto any input. it can also measur e phase between the t0 selected reference and any input by setting the t0cr1 .t4mt0 bit. the t4 apll can still be used to clean up jitter on a synthesized clock from the t0 dpll. when the t0cr1 .t4mt0 bit is set the t4 dpll goes to the free-run state. standard input clock frequency monitoring is described in section 7.5.1 . the input clock monitors report measured frequency with 3.8ppm resolution. more accurate m easurement of frequency and phase can be accomplished using the dplls. the t0 dpll is always monitoring its se lected reference, but if the t4 dpll is not otherwise used to lock to an input, it can be configured as a hi gh-resolution phase monitor. the refclk signal accuracy after being adjusted with mclkfreq is used for the frequency reference. software can then connect the t4 dpll to various input clocks on a rotating basis to meas ure phase between the t0 dpll input and another input. see the t4force field of mcr4 . dpll frequency measurements can be read from the freq field spanning registers freq1 , freq2 , and freq3 . this field indicates the frequency of the selected refere nce for either the t0 dpll or the t4 dpll, depending on the setting of the t4t0 bit in mcr11 . this frequency measurement has a resolution of 0.0003068ppm over a 80ppm range. the value read from the freq field is the dpll?s integral path value, which is an averaged measurement with an averaging time inversely proportional to dpll bandwidth. dpll phase measurem ents can be read from the phase field spanning registers phase1 and phase2 . this field indicates the phase difference seen by the phase det ector for either the t0 dpll or the t4 dpll, depending on the setting of the t4t0 bit in mcr11 . this phase measurement has a reso lution of approximately 0.703 degrees and is internally averaged with a -3db attenuation poin t of approximately 100hz. thus, for low dpll bandwidths, the phase field gives input phase wander in the frequenc y band from the dpll corner frequency up to 100hz. this information could be used by software to compute a crude mtie measurement. for the t0 dpll the phase field always indicates t he phase difference between the selected reference and the internal feedback clock. the t4 dpll, however, can be configured to measure the phase difference between two input clocks. when t0cr1 :t4mt0 = 1, the t4 dpll lo cking capability is disabled, a nd the t4 phase detector is configured to compare the t0 dpll selected reference wi th the t4 dpll selected reference. any input clock can then be forced to be the t4 dpll selected reference using the t4force field of mcr4 . this feature can be used, for example, to measure the phase difference betw een the t0 dpll?s selected reference and its next highest priority reference. software could compute mtie and tdev with respect to the t0 dpll selected reference for any or all the other input clocks. when comparing the phase of the t0 and t4 selected references by setting t0cr1 :t4mt0 = 1, several details must be considered. in this mode, the t4 path receives a copy of the t0 selected refe rence, either directly or through a divider to 8khz. if the t4 selected reference is divided down to 8khz using lock8k or divn modes (see section 7.4.2 ), the copy of the t0 selected reference is also divided down to 8khz. if the t4 selected reference is configured for direct-lock mode, the co py of the t0 selected reference is not divided down and must be the same frequency as the t4 selected reference. see table 7-6 for more details. (while t0cr1 :t4mt0 = 1, the t0 path continues to lock to the t0 selected referenc e in the manner specified in the corresponding icr register.)
____________________________________________________________________________________________ ds 3102 rev: 102808 36 of 141 table 7-6. t0 dpll adaptation for th e t4 dpll phase measurement mode locking mode for t4 selected reference locking mode for t0 selected reference locking mode for copy of t0 selected reference frequency of the t4 selected reference for t4mt0 phase measurement frequency of the t0 selected reference for t4mt0 phase measurement lock8k or divn(8k) direct lock8k 8khz 8khz lock8k or divn(8k) lock8k lock8k 8khz 8khz lock8k or divn(8k) divn (8k) divn 8khz 8khz lock8k or divn(8k) divn (not 8k) direct 8khz 8khz divn (not 8k) any direct same as the t4 forced reference input frequency same as the t0 selected reference input frequency (1) direct any direct same as the t4 forced reference input frequency same as the t0 selected reference input frequency (1) note 1: in this case the t0 select reference must be the same frequency as the t4 selected reference. note 2: if the t4 selected reference frequency is 8khz and the t0 select ed reference is a different frequency, the two references can be compared by configuring the t4 selected reference for 8khz and lock 8k mode. this forces the copy of the t0 selected reference t o be divided down to 8khz using either lock8k or divn mode. note 3: divn(8k) means that the freq field is set to 8khz, divn(not 8k) means the freq field is not set to 8khz. 7.7.11 input jitter and wander tolerance the device is compliant with the jitter and wander tolerance requirements of the standards listed in table 1-1 . wander can be tolerated up to the point where wander ca uses an apparent long-term frequency offset larger than the limits specified in the ilimit and/or srlimit registers. in such a situatio n the input clock would be declared invalid. when using the 360 / 180 pfd, jitter can be tolerated up to the point of eye closur e. either lock8k mode (see section 7.4.2.3 ) or the multicycle phase detector (see section 7.7.5 ) should be used for high jitter tolerance. 7.7.12 jitter and wander transfer the transfer of jitter and wander from the selected re ference to the output clocks has a programmable transfer function that is determined by the dpll bandwidth. (see section 7.7.3 .) in the t0 dpll, the 3db corner frequency of the jitter transfer function can be set to any of 21 po sitions from 0.5mhz to 400hz. in the t4 dpll the 3db corner frequency of the jitter transfer function c an be set to various values from 18hz to 70hz. during locked mode, the transfer of wander from the loca l oscillator clock (connected to the refclk pin) to the output clocks is not significant as long as the dpll ban dwidth is set high enough to allow the dpll to quickly compensate for oscillator fr equency changes. during free-run and hol dover modes, local osc illator wander has a much more significant effect. see section 7.3 .
____________________________________________________________________________________________ ds 3102 rev: 102808 37 of 141 7.7.13 output jitter and wander several factors contribute to jitter and wander on the output clocks, including: ? jitter and wander amplitude on the selected re ference (while in the locked state) ? the jitter/wander transfer c haracteristic of the device (while in the locked state) ? the jitter and wander on the local oscillator clock signal (especially wander while in the holdover state) the dpll in the device has progr ammable bandwidth (see section 7.7.3 ). with respect to jitter and wander, the dpll behaves as a lowpass filter wi th a programmable pole. the bandwidth of the dpll is normally set low enough to strongly attenuate jitter. the wander and ji tter attenuation depends on the dpll bandwidth chosen. over time, frequency changes in the local oscillator can cause a phase difference between the selected reference and the output clocks. this is especially true at lower frequency dpll bandwidths because the dpll?s rate of change may be slower than the oscillator?s rate of change. oscillators with better stability will minimize this effect. in some applications, an ocxo may be required rather th an a tcxo. in the most demanding applications, the ocxo may need to be shielded to further reduce the rate of temperature change and thus the rate of frequency change. 7.8 output clock configuration a total of 16 output clock pins, oc1 to oc5, oc1b to oc5b, oc4pos/neg to oc7pos/neg, fsync, and mfsync are available on the device. ou tput clocks oc1 to oc7 are individually configurable for a variety of frequencies derived from either the t0 dpll or the t4 dpll. oc1b to oc5b are powered from a dedicated i/o power pin that can be set to any voltage from 2.2v to 3.3v. output clocks fsync and mfsync serve as 8khz frame-sync and 2khz multiframe-sync outputs, respectively. table 7-7 provides more detail on the capabilities of the output clock pins. table 7-7. output clock capabilities output clock signal format frequencies supported oc1 oc2 oc3 oc4 oc5 cmos/ttl 3.3v powered oc1b oc2b oc3b oc4b oc5b cmos/ttl 2.5v or 3.3v powered oc4 oc5 oc6 oc7 lvds/lvpecl frequency selection per section 7.8.2.3 and table 7-8 to table 7-14 . fsync 8khz frame sync with prog rammable pulse width and polarity. mfsync cmos/ttl 2khz multiframe sync with programmable pulse width and polarity.
____________________________________________________________________________________________ ds 3102 rev: 102808 38 of 141 7.8.1 signal format configuration output clocks oc4, oc5, oc6, and oc7 are lv ds-compatible, lvpecl le vel-compatible outputs. the type of output can be selected or the output can be disabl ed using the ocnsf config uration bits in the mcr8 register. the lvpecl level-compatible mode generates a differential signal that is large enough for most lvpecl receivers. some lvpecl receivers have a limited common mode si gnal range which can be ac commodated for by using an ac-coupled signal. the lvds electrical specifications are listed in table 10-5 , and the recommended lvds termination is shown in figure 10-1 . the lvpecl level-compatible electr ical specifications are listed in table 10-6 , and the recommended lvpecl receiver termination is shown in figure 10-3 . these differential outputs can be easily interfaced to lvds, lvpecl, and cml inputs on nei ghboring ics using a few ex ternal passive components. see maxim app note hfan-1.0 for details. the other output clocks are cmos/ttl signal format. 7.8.2 frequency configuration the frequency of output clocks oc1 to oc7 is a function of the settings used to configure the components of the t0 and t4 pll paths. these components are shown in the detailed block diagram of figure 7-1 . the ds3102 uses digital frequency synthesis (dfs) to gener ate various clocks. in dfs a high-speed master clock (204.8mhz) is divided down to the desired output frequ ency by adding a number to an accumulator. the dfs output is a coding of the clock output phase that is used by a special circuit to determine where to put the edges of the output clock between the clock edge s of the master clock. the edges of the output clock, however, are not ideally located in time resulting in jitter wi th an amplitude typically less than 1ns pk-pk. 7.8.2.1 t0 and t4 dpll details see figure 7-1 . the t0 and t4 forward-dfs blocks use the 204.8mhz master clock and dfs technology to synthesize internal clocks from which the output and f eedback clocks are derived. the t4 dpll only has a single dfs output clock signal for both the output clocks and the feedback clock, wh ereas there are two dfs output clock signals in the t0 dpll?one for the output clocks and one for the feedback clock. in the t0 dpll, the feedback clock-si gnal output handles phase build-out or any phase offset configured in the offset registers. thus, the t0 dpll out put clock signals and the feedback cl ock signal are frequency-locked but may have a phase offset. the t0 and t4 feedback-dfs bl ocks are always connected to the t0 forward dfs and the t4 forward dfs, respectively. t he feedback-dfs blocks synthe size the appropriate locking frequencies for use by the phase-frequency detectors (pfds). see section 7.4.2 . 7.8.2.2 output dfs and apll details see figure 7-1 . the output clock frequencies are determined by two 2khz/8khz dfs blocks, two dig12 dfs blocks, and three apll dfs blocks. four of the dfs blocks can be connected to either the t0 dpll or the t4 dpll, and three are always connected to the t0 dpll. the t0 apll, the t0 apll2 and the t4 apll (and their output dividers) get their frequency references from th ree associated apll dfs blocks. all the output dfs blocks are connected to the t0 dpll when mcr4 :lkt4t0 = 1. the 2k8k dfs and fsync dfs blocks generate both 2khz and 8khz signals which have about 1ns pk-pk jitter. the fsync (8khz) and mfsync(2 khz) signals come from t he fsync dfs block, which is always connected to the t0 dpll when not in independent mode ( fscr2 :indep = 1). the 2khz and 8khz signals available on output clocks oc1 to oc7 come from the 2k8k dfs, which c an be connected to either the t0 dpll or the t4 dpll depending on fscr1 :2k8ksrc and mcr4 :lkt4t0. the dig1 dfs can generate an n x ds1 or nxe1 signal wi th about 1ns pk-pk jitter. the dig2 dfs can generate an n x ds1, n x e1, 6.312mhz, 10mhz, or n x 19.44mhz cl ock with approximately 1ns pk-pk jitter. each dig12 dfs can be connected to either the t0 dpll or the t4 dpll using mcr7 :dig1src or mcr7 :dig2src and mcr4 :lkt4t0. the frequency of the dig1 cloc k is configured by the dig1ss bit in mcr6 and the dig1f[1:0] field in mcr7 . the frequency of the dig2 clock is conf igured by the dig2af and dig2ss bits in mcr6 and the
____________________________________________________________________________________________ ds 3102 rev: 102808 39 of 141 dig2f[1:0] field in mcr7 . dig1 and dig2 can be independently config ured for any of the frequencies shown in table 7-8 and table 7-9 , respectively. the apll dfs blocks and their associated output ap lls and output dividers can generate many different frequencies. the t0 apll dfs and the t0 apll2 dfs are always connected to the t0 dpll. the t4 apll dfs can be connected to either the t0 dpll or the t4 dpll depending on t0cr1 :t4apt0 and mcr4 :lkt4t0. the t0 apll frequencies that can be generated are listed in table 7-11 . the t0 apll2 frequency is always 312.500mhz. the t4 apll frequencies that can be generated are listed in table 7-13 . the output frequencies that can be generated from the apll circuits are listed in table 7-10 . the t4 apll is disabled and powered down when t4cr1 :t4freq = 0000 and t0cr1 :t4apt0 = 0. in this mode all outputs connected to the t4 apll are driven low. together the t0 apll, t0 apll2, and t4 apll can simu ltaneously generate sonet/sdh clock rates, gigabit ethernet clock rates (e.g., 125mhz), and 10g ethernet cl ock rates (e.g., 156.25mhz), all locked to the same selected reference. this capabilit y supports mixed sonet/sdh and synchronous ether net line cards. 7.8.2.3 oc1 to oc 7 configuration the following is a step-by-step procedure for configur ing the frequencies of output clocks oc1 to oc7: 1) determine whether the t4 apll must be indep endent of the t0 dpll. if the t4 apll must be independent, set t4apt0 = 0 in register t0cr1 . if the t4 apll must be locked to the t0 dpll, set t4apt0 = 1. 2) use table 7-10 to select a set of output frequencies for each apll, t0 and t4. each apll can only generate one set of output frequencies. (in sonet/sdh equipment, the t0 apll is typically configured for a frequency of 311.04mhz to get 19.44mhz and/or 38.88mhz output clocks to distribute to system line cards.) 3) determine from table 7-10 the t0 and t4 apll frequencies required for the frequency sets chosen in step 2. 4) configure the t0freq field in register t0cr1 as shown in table 7-11 for the t0 apll frequency determined in step 3. configure the t4freq field in register t4cr1 as shown in table 7-13 for the t4 apll frequency determined in step 3. if the t4 apll is locked to the t0 dpll, the t4apt0 and t0ft4 fields in t0cr1 must also be configured as shown in table 7-13 . 5) using table 7-10 and table 7-14 , configure the frequencies of output clocks oc1 to oc7 in the ofreqn fields of registers ocr1 to ocr4 and the aofn bit in the ocr5 register. table 7-15 lists all standard frequencies for the output clocks and specifies how to configure the t0 apll and/or the t4 apll to obtain each frequency. table 7-15 also indicates the expected jitter amplitude for each frequency. table 7-8. digital1 frequencies dig1f[1:0] setting in mcr7 dig1ss setting in mcr6 frequency (mhz) jitter (pk-pk ns, typ) 00 0 2.048 < 1 01 0 4.096 < 1 10 0 8.192 < 1 11 0 16.384 < 1 00 1 1.544 < 1 01 1 3.088 < 1 10 1 6.176 < 1 11 1 12.352 < 1
____________________________________________________________________________________________ ds 3102 rev: 102808 40 of 141 table 7-9. digital2 frequencies dig2af setting in mcr6 dig2f[1:0] setting in mcr7 dig2ss setting in mcr6 frequency (mhz) jitter (pk-pk ns, typ) 1 00 0 6.312 < 1 1 10 0 10.000 <1 1 00 1 19.440 < 1 1 01 1 38.880 < 1 0 00 0 2.048 < 1 0 01 0 4.096 < 1 0 10 0 8.192 < 1 0 11 0 16.384 < 1 0 00 1 1.544 < 1 0 01 1 3.088 < 1 0 10 1 6.176 < 1 0 11 1 12.352 < 1 table 7-10. apll frequency to output frequencies (t0 apll and t4 apll) apll frequency apll / 2 apll / 4 apll / 5 apll / 6 apll / 8 apll / 10 apll / 12 apll / 16 apll / 20 apll / 48 apll / 64 312.500 156.250 ? 62.500 ? ? 31.250 ? ? ? ? ? 311.040 155.520 77.760 62.208 51.840 38.880 31.104 25.920 19.440 15.552 6.480 4.860 274.944 137.472 68.376 ? 45.824 34.368 ? 22.912 17.184 ? 5.728 4.296 250.000 125.000 62.500 50.000 ? 31.250 25.000 ? ? 12.500 ? ? 178.944 89.472 44.736 ? 29.824 22.368 ? 14.91 2 11.184 ? 3.728 2.796 160.000 80.000 40.000 32. 00 ? 20.000 16.000 ? 10.000 8.000 ? 2.500 148.224 74.112 37.056 ? 24.704 18.528 ? 12.352 9.264 ? 3.088 2.316 131.072 65.536 32.768 ? ? 16.384 ? ? 8.192 ? ? 2.048 122.880 61.440 30.720 24.576 20.48 15.360 12.288 10.240 7.680 6.144 2.560 1.920 104.000 52.000 26.000 20.800 ? 13.000 10.400 ? 6.500 5.200 ? ? 100.992 50.496 25.248 ? 16.832 12.624 ? 8.416 6.312 ? 2.104 1.578 98.816 49.408 24.704 ? ? 12.352 ? ? 6.176 ? ? 1.544 98.304 49.152 24.576 ? 16.384 12.288 ? 8.192 6.144 ? 2.048 1.536 note: all frequencies in mhz. common telecom, datacom, and synchronization frequencies are in bold type. table 7-11. t0 apll fr equency configuration t0 apll frequency (mhz) t0 apll dfs frequency (mhz) t0 apll frequency mode t0freq[2:0] setting in t0cr1 output jitter (pk-pk, ns, typ) 311.04 77.76 77.76mhz 000 < 0.5 311.04 77.76 77.76mhz 001 < 0.5 98.304 24.576 12 x e1 010 < 0.5 131.072 32.768 16 x e1 011 < 0.5 148.224 37.056 24 x ds1 100 < 0.5 98.816 24.704 16 x ds1 101 < 0.5 100.992 25.248 4 x 6312khz 110 < 0.5 250.000 62.5 gbe 16 111 < 0.5 table 7-12. t0 apll2 fr equency configuration t0 apll2 frequency (mhz) t0 apll2 dfs frequency(mhz) output jitter (pk-pk, ns, typ) 312.500 62.500 < 0.5
____________________________________________________________________________________________ ds 3102 rev: 102808 41 of 141 table 7-13. t4 apll fr equency configuration t4 apll frequency (mhz) t4 apll dfs frequency (mhz) t4 apll frequency mode t4apt0 setting in t0cr1 t4freq[3:0] setting in t4cr1 t0ft4[2:0] setting in t0cr1 output jitter (pk-pk, ns, typ) disabled 77.76 squelched 0 0000 xxx < 0.5 311.04 77.76 77.76mhz 0 0001 xxx < 0.5 98.304 24.576 12 x e1 0 0010 xxx < 0.5 131.072 32.768 16 x e1 0 0011 xxx < 0.5 148.224 37.056 24 x ds1 0 0100 xxx < 0.5 98.816 24.704 16 x ds1 0 0101 xxx < 0.5 274.944 68.736 2 x e3 0 0110 xxx < 0.5 178.944 44.736 ds3 0 0111 xxx < 0.5 100.992 25.248 4 x 6312khz 0 1000 xxx < 0.5 250.000 62.500 gbe 16 0 1001 xxx < 0.5 122.88 30.720 3 x 10.24 0 1010 xxx < 0.5 160.000 40.000 4 x 10 0 1011 xxx < 0.5 104.000 26.000 2 x 13 0 1100 xxx < 0.5 98.304 24.576 t0 12 x e1 1 xxxx 000 < 0.5 250.000 62.500 t0 gbe 16 1 xxxx 001 < 0.5 131.072 32.768 t0 16 x e1 1 xxxx 010 < 0.5 148.224 37.056 t0 24 x ds1 1 xxxx 100 < 0.5 98.816 24.704 t0 16 x ds1 1 xxxx 110 < 0.5 100.992 25.248 t0 4 x 6312khz 1 xxxx 111 < 0.5 table 7-14. oc1 to oc7 ou tput frequency selection frequency aof bit ofreq (1) oc1 oc2 oc3 oc4 oc5 oc6 oc7 0 0000 disabled disabled disabled disabled disabled disabled disabled 0 0001 2khz 2khz 2khz 2khz 2khz 2khz 2khz 0 0010 8khz 8khz 8khz 8khz 8khz 8khz 8khz 0 0011 digital2 digital2 digital2 dig ital2 digital2 t0 / 2 digital2 0 0100 digital1 digital1 digital1 dig ital1 digital1 digital1 t0 / 2 0 0101 t0 / 48 t0 / 48 t0 / 48 t0 / 48 t0 / 48 t0 / 1 t0 / 48 0 0110 t0 / 16 t0 / 16 t0 / 16 t0 / 16 t0 / 16 t0 / 16 t0 / 16 0 0111 t0 / 12 t0 / 12 t0 / 12 t0 / 12 t0 / 12 t0 / 12 t0 / 12 0 1000 t0 / 8 t0 / 8 t0 / 8 t0 / 8 t0 / 8 t0 / 8 t0 / 8 0 1001 t0 / 6 t0 / 6 t0 / 6 t0 / 6 t0 / 6 t0 / 6 t0 / 6 0 1010 t0 / 4 t0 / 4 t0 / 4 t0 / 4 t0 / 4 t0 / 4 t0 / 4 0 1011 t4 / 64 t4 / 64 t4 / 64 t4 / 2 t4 / 2 t4 / 64 t4 / 64 0 1100 t4 / 48 t4 / 48 t4 / 48 t4 / 48 t4 / 48 t4 / 48 t4 / 48 0 1101 t4 / 16 t4 / 16 t4 / 16 t4 / 16 t4 / 16 t4 / 16 t4 / 16 0 1110 t4 / 8 t4 / 8 t4 / 8 t4 / 8 t4 / 8 t4 / 8 t4 / 8 0 1111 t4 / 4 t4 / 4 t4 / 4 t4 / 4 t4 / 4 t4 / 4 t4 / 4 1 0000 disabled disabled disabled disabled disabled disabled disabled 1 0001 t0 / 64 t0 / 64 t0 / 64 t0 / 2 t0 / 2 t4 / 5 t4 / 5 1 0010 t4 / 20 t4 / 20 t4 / 20 t0 / 1 t0 / 1 t4 / 2 t4 / 2 1 0011 t4 / 12 t4 / 12 t4 / 12 t4 / 10 t4 / 10 t4 / 1 t4 / 1 1 0100 t4 / 10 t4 / 10 t4 / 10 t02 / 10 t02 / 10 t02 / 5 t02 / 5 1 0101 t02 / 10 t4 / 5 t4 / 5 t02 / 2 t02 / 2 t02 / 2 t02 / 2 1 0110 t02 / 5 t4 / 2 t4 / 2 t02 / 1 t02 / 1 t02 / 1 t02 / 1 1 0111 t4selref t4selref t4selref t4selref t4selref t4selref t4selref note 1: the value of the ofreqn field (in the ocr1 to ocr4 registers) corresponding to output clock ocn. note 2: t0 = t0 apll. t02 = t0 apll2. t4 = t4 apll.
____________________________________________________________________________________________ ds 3102 rev: 102808 42 of 141 table 7-15. standard frequenc ies for programmable outputs t0 apll t4 apll jitter (typ) frequency (mhz) t0freq t4ft0 t4freq ofreqn rms (ps) pk- pk (ns) 2khz 2 khz 100 1.00 8khz 8 khz 100 1.00 1.536 not oc4, oc5 from t4 apll not oc4 to oc7 from t0 apll 12 x e1 12 x e1 12 x e1 apll/64 100 1.00 1.544 not oc6 from dig2 dig1,dig2 100 1.00 1.544 not oc4, oc5 from t4 apll not oc4 to oc7 from t0 apll 16 x ds1 16 x ds1 16 x ds1 apll/64 75 0.75 1.578 not oc4, oc5 from t4 apll not oc4 to oc7 from t0 apll 4 x 6.312 4 x 6.312 4 x 6.312 apll/64 60 0.60 2.048 not oc6 from dig2 dig1,dig2 100 1.00 2.048 not oc6 from t0 apll 12 x e1 12 x e1 12 x e1 apll/48 100 1.00 2.048 not oc4, oc5 from t4 apll not oc4 to oc7 from t0 apll 16 x e1 16 x e1 16 x e1 apll/64 70 0.70 2.104 not oc6 from t0 apll 4 x 6.3 12 4 x 6.312 4 x 6. 312 apll/48 60 0.60 2.316 not oc4, oc5 from t4 apll not oc4 to oc7 from t0 apll 24 x ds1 24 x ds1 24 x ds1 apll/64 60 0.60 2.500 not oc4, oc5 4 x 10 apll/64 80 0.80 2.560 3 x 10.24 apll/48 90 0.90 2.796 not oc4, oc5 ds3 apll/64 50 0.50 3.088 not oc6 from dig2 dig1,dig2 100 1.00 3.088 not oc6 from t0 apll 24 x ds 1 24 x ds1 24 x ds1 apll/48 60 0.60 3.728 ds3 apll/48 50 0.50 4.096 not oc6 from dig2 dig1,dig2 100 1.00 4.296 not oc4, oc5 2 x e3 apll/64 70 0.70 4.860 not oc4, oc5 from t4 apll not oc4 to oc7 from t0 apll 77.76 77.76 apll/64 50 0.50 5.200 oc1?oc3 only 2 x 13 apll/20 90 0.90 5.728 2 x e3 apll/48 70 0.70 6.144 oc1?oc3 only 3 x 10.24 apll/20 90 0.90 6.144 12 x e1 12 x e1 12 x e1 apll/16 100 1.00 6.176 not oc6 from dig2 dig1,dig2 100 1.00 6.176 16 x ds1 16 x ds1 16 x ds1 apll/16 75 075 6.312 not oc6 dig2 100 1.00 6.312 4 x 6.312 4 x 6.312 4 x 6.312 apll/16 60 0.60 6.480 not oc6 from t0 apll 77.76 77.76 apll/48 60 0.6 8.000 oc1?oc3 only 4 x 10 apll/20 80 0.80 8.192 not oc6 from dig2 dig1,dig2 100 1.00 8.192 12 x e1 apll/12 100 1.00 8.192 16 x e1 16 x e1 16 x e1 apll/16 70 0.70 8.416 4 x 6.312 apll/12 60 0.60 9.264 24 x ds1 24 x ds1 24 x ds1 apll/16 60 0.60 10.000 not oc6 dig2 100 1.00 10.000 4 x 10 apll/16 80 0.80 10.240 oc1?oc3 only 3 x 10.24 apll/12 90 0.90 10.400 not oc6, oc7 3 x 10.24 apll/10 90 0.90 11.184 ds3 apll/16 50 0.50 12.288 12 x e1 12 x e1 12 x e1 apll/8 100 1.00 12.288 not oc6, oc7 2 x 13 apll/10 90 0.90 12.352 24 x ds1 apll/12 60 0.60 12.352 16 x ds1 16 x ds 1 16 x ds1 apll/8 75 0.75 12.352 not oc6 from dig2 dig1,dig2 100 1.00 12.500 oc1?oc3 only gbe 16 gbe 16 apll/20 60 0.60 12.624 4 x 6.312 4 x 6.3 12 4 x 6.312 apll/8 60 0.60 13.000 2 x 13 apll/8 90 0.90 15.360 3 x 10.24 apll/8 90 0.90
____________________________________________________________________________________________ ds 3102 rev: 102808 43 of 141 t0 apll t4 apll jitter (typ) frequency (mhz) t0freq t4ft0 t4freq ofreqn rms (ps) pk- pk (ns) 15.552 oc1?oc3 only 77.76 apll/20 50 0.50 16.000 not oc6, oc7 4 x 10 apll/10 80 0.80 16.384 not oc6 from dig2 dig1,dig2 100 1.00 16.384 12 x e1 apll/6 100 1.00 16.384 16 x e1 16 x e1 16 x e1 apll/8 70 0.70 16.832 4 x 6.312 apll/6 60 0.60 17.184 2 x e3 apll/16 70 0.70 18.528 24 x ds1 24 x ds 1 24 x ds1 apll/8 60 0.60 19.440 not oc6 dig2 100 1.00 19.440 77.76 77.76 apll/16 50 0.50 20.000 4 x 10 apll/8 80 0.80 20.800 oc2, oc3, oc6, oc7 only 2 x 13 apll/5 90 0.90 22.368 ds3 apll/8 50 0.50 24.576 12 x e1 12 x e1 12 x e1 apll/4 100 1.00 24.576 oc2, oc3, oc6, oc7 onl y 3 x 10.24 apll/5 90 0.90 24.704 24 x ds1 apll/6 60 0.60 24.704 16 x ds1 16 x ds 1 16 x ds1 apll/4 75 0.75 25.000 not oc6, oc7 gbe 16 gbe 16 apll/10 60 0.60 25.248 4 x 6.312 4 x 6.3 12 4 x 6.312 apll/4 60 0.60 25.920 77.76 apll/12 50 0.50 26.000 2 x 13 apll/4 90 0.90 30.720 3 x 10.24 apll/4 90 0.90 31.104 not oc6, oc7 77.76 apll/10 50 0.50 31.250 gbe 16 gbe 16 gbe 16 apll/8 60 0.60 31.250 oc1, oc4, oc5 from t0 apll2 apll/10 60 0.60 32.000 oc2, oc3, oc6, oc7 only 4 x 10 apll/5 80 0.80 32.768 16 x e1 16 x e1 16 x e1 apll/4 70 0.70 34.368 2 x e3 apll/8 70 0.70 37.056 24 x ds1 24 x ds 1 24 x ds1 apll/4 60 0.60 38.880 77.76 77.76 apll/8 50 0.50 40.000 4 x 10 apll/4 80 0.80 44.736 ds3 apll/4 50 0.50 49.152 not oc1?oc3 from t0 apll not oc1, oc2 from t4 apll 12 x e1 12 x e1 12 x e1 apll/2 100 1.00 49.408 not oc1?oc3 from t0 apll not oc1, oc2 from t4 apll 16 x ds1 16 x ds1 16 x ds1 apll/2 75 0.75 50.000 oc2, oc3, oc6, oc7 only gbe 16 gbe 16 apll/5 60 0.60 50.496 not oc1?oc3 from t0 apll not oc1, oc2 from t4 apll 4 x 6.312 4 x 6.312 4 x 6.312 apll/2 60 0.60 51.840 77.76 apll/6 50 0.50 52.000 not oc1, oc2 2 x 13 apll/2 90 0.90 61.440 not oc1, oc2 3 x 10.24 apll/2 90 0.90 62.208 oc2, oc3, oc6, oc 7 only 77.76 apll/5 50 0.50 62.500 gbe 16 gbe 16 gbe 16 apll/4 60 0.60 62.500 oc1, oc6, oc7 from t0 apll2 apll/5 60 0.60 65.536 not oc1?oc3 from t0 apll not oc1, oc2 from t4 apll 16 x e1 16 x e1 16 x e1 apll/2 70 0.70 68.736 2 x e3 apll/4 70 0.70 74.112 not oc1?oc3 from t0 apll not oc1, oc2 from t4 apll 24 x ds1 24 x ds1 24 x ds1 apll/2 60 0.60 77.76 77.76 77.76 apll/4 50 0.50 80.000 not oc1, oc2 4 x 10 apll/2 80 0.80 89.472 not oc1, oc2 ds3 apll/2 50 0.50 98.304 not oc1?oc3 from t0 apll oc6, oc7 only from t4 apll 12 x e1 12 x e1 12 x e1 apll/1 100 1.00 98.816 not oc1?oc3 from t0 apll oc6, oc7 only from t4 apll 16 x ds1 16 x ds1 16 x ds1 apll/1 75 0.75 100.992 not oc1?oc3 from t0 apll 4 x 6312 khz 4 x 6312 khz 4 x 6312 khz apll/1 60 0.60
____________________________________________________________________________________________ ds 3102 rev: 102808 44 of 141 t0 apll t4 apll jitter (typ) frequency (mhz) t0freq t4ft0 t4freq ofreqn rms (ps) pk- pk (ns) oc6, oc7 only from t4 apll 104.000 oc6, oc7 only 2 x 13 apll/1 90 0.90 122.880 oc6, oc7 only 3 x 10.24 apll/1 90 0.90 125.000 not oc1?oc3 from t0 apll not oc1, oc2 from t4 apll gbe 16 gbe 16 gbe 16 apll/2 60 0.60 131.072 not oc1?oc3 from t0 apll oc6, oc7 only from t4 apll 16 x e1 16 x e1 16 x e1 apll/1 70 0.70 137.472 oc6, oc7 only 2 x e3 apll/2 70 0.70 148.224 not oc1-oc3 from t0 apll oc6, oc7 only from t4 apll 24 x ds1 24 x ds1 24 x ds1 apll/1 60 0.60 155.520 not oc1?oc3 from t0 apll not oc1, oc2 from t4 apll 77.76 77.76 apll/2 50 0.50 156.250 oc4?oc7 only from t0 apll2 apll/2 60 0.60 160.000 oc6, oc7 only 4 x 10 apll/1 80 0.80 178.944 oc6, oc7 only ds3 apll/1 50 0.50 250.000 oc4?oc7 only gbe 16 apll/1 60 0.60 274.944 oc6, oc7 only 2 x e3 apll/1 70 0.70 311.040 oc4?oc7 only 77.76 apll/1 50 0.50 312.500 oc4?oc7 only from t0 apll2 apll/2 60 0.60 7.8.2.4 fsync and mfsy nc configuration the fsync output is enabled by setting fsen = 1 in the ocr4 register, while the mfsync output is enabled by setting mfsen = 1 in ocr4 . when disabled, these pins are driven low. when 8kpul = 0 in fscr1 , fsync is configured as an 8khz cloc k with 50% duty cycle. when 8kpul = 1, fsync is an 8khz frame sync that pulses low once every 125 s with pulse width equal to one cycle of output clock oc3. when 8kinv = 1 in fscr1 , the clock or pulse polarity of fsync is inverted. when 2kpul = 0 in fscr1 , mfsync is configured as an 2khz clo ck with 50% duty cycle. when 2kpul = 1, mfsync is a 2khz frame sync that pulses low once every 500 s with pulse width equal to one cycle of output clock oc3. when 2kinv = 1 in fscr1 , the clock or pulse polarity f mfsync is inverted. if either 8kpul = 1 or 2kpul = 1, out put clock oc3 must be generated from the t0 dpll and must be configured for a frequency of 1.544mhz or higher or the fsyn c/mfsync pulses may not be generated correctly. figure 7-4 shows how the 8kpul and 8kinv control bits affect the fsync output. the 2kpul and 2kinv bits have an identical effect on mfsync. figure 7-4. fsync 8khz options oc3 output clock fsync, 8kpul=0, 8kinv=0 fsync, 8kpul=0, 8kinv=1 fsync, 8kpul=1, 8kinv=0 fsync, 8kpul=1, 8kinv=1
____________________________________________________________________________________________ ds 3102 rev: 102808 45 of 141 7.8.2.5 custom output frequencies in addition to the many standard frequencies available in the device, any of the sev en output dfs blocks can be configured to generate a custom frequency. possible cu stom frequencies include any multiple of 2khz up to 77.76mhz and any multiple of 8khz up to 311.04mhz. (an apll must be used to achieve frequencies above 77.76mhz.) any of the programmable output clocks can be configured to output the custom frequency or submultiples thereof. contact the factory at www.maxim-ic.com/support for help with custom frequencies. 7.9 equipment redundancy configuration most high-reliability sonet/sdh syst ems require two identical timing ca rds for equipment redundancy. the ds3102 directly supports this requirement. in such a syst em, one timing card is designated the master while the other is designated the slave. the rest of the system, outside the timing cards, is set up to take timing from the master normally, but to automatically switch to taking timi ng from the slave if the master fails. to avoid excessive phase transients when switching between master timing and slave timing, the clocks from the master and the slave must be frequency-locked and usually phase-locked as well. to accomplish this requires a method involving both static configuration and ongoing oversight by system software. table 7-16 lists the elements of this methodology. table 7-16. equipment redundancy methodology 1. the various clock sources availabl e in the system should be wired to the same pins on the slave as on the master, except: a. one output clock from the master device sh ould be wired to an input clock on the slave. b. one output clock from the slave device s hould be wired to an input clock on the master. 2. the input clock priorities ( ipr registers) on master and slave s hould be identical, for both t0 and t4 paths, except: a. the master output clock is the highest priority input on the slave. (1) b. the slave output clock is disabled (priority 0) on the master. this ensures that the frequency of the sl ave matches the frequency of the master. 3. any input declared invalid in one device ( valsr registers) must be marked invalid by software in the other device ( valcr registers). this and item 2 together en sure that when the master is performing properly, the slave locks to the master, and when the master fails, the slave locks to the input clock the master was previously locked to. 4. the slave?s t0 dpll bandwidth should be set higher than the master?s bandwidth ( t0lbw , t0abw registers) to ensure that the slave follows any transients coming from the master. (70 hz is recommended.) 5. phase build-out should be disabled ( mcr10 :pboen = 0) on the slave when it is locked to the master to ensure that the slave maintains phase lock with the master. this also allows the use of phase offset ( offset registers) to compensate for delays between master and slave. 6. revertive mode should be enabl ed on the slave (revert = 1 in mcr3 ) to ensure the slave switches from any other reference to the master as soon as the master?s clock is valid. note 1: this must be done for the slave?s t0 path, but is not necessary for the slave?s t4 path. in the slave?s t4 path the input clock priorities should match those of the mast er except the input connected to the mast er?s output clock should be disabled. this causes the slave?s t4 path to onl y lock to external references. 7.9.1 master-slave out put clock-phase alignment when the t0 dpll is direct-locked to a selected referenc e with frequency fref, any out put clocks derived from t0 with frequency fref are phase-aligned with the selected refe rence (if phase build-out is disabled). any output clocks derived from t0 with frequency greater than fref are ?f alling edge aligned? with the frequency fref output clock. any output clocks derived from t0 with frequency less than fref may or may not be aligned, depending on whether their frequencies are integer submultiples of f. these stat ements also apply to output clocks derived from the t4 dpll.
____________________________________________________________________________________________ ds 3102 rev: 102808 46 of 141 given this information, if master and slave devices are crosswired with 19.44mhz clocks, for example, the output clocks at n x 19.44mhz (n = 1, 2, 4, 8, or 16) from the two devices are phase-aligned with one another. output clocks at lower frequencies (6.48mhz, 1.544mhz, 2.048mhz , 2khz, 8khz, etc.) from the two devices would not necessarily be phase-aligned. in m any systems, lack of phase alignment between the two devices at these clock rates is not an issue. in some system s, however, the 2khz and/or 8khz clocks of the two devices must be aligned to avoid framing errors during swit chover between master and slave. one way to align the 2khz and/or 8khz clocks of the master and slave devices is to config ure the slave to lock to a 2khz or 8khz output of the master. another way is to use the external frame-sync signal as described in section 7.9.2 . 7.9.2 master-slave frame and multiframe al ignment with the external frame-sync signals with this method of aligning the 2khz and 8khz clocks of the master and slave devices, both a higher speed clock (such as 6.48mhz or 19.44mhz) and a frame (or multiframe ) sync signal from the master are passed to the slave (and vice versa when their roles are reversed). the higher speed clock from the master is connected to a regular input clock pin on the slave, such as ic3 or ic4, while the frame-sync signal from the master is connected to a syncn input pin on the slave, such as sync1 or sync2. the slave locks to the higher speed clock and samples the frame-sync signal on the associated syncn pin. t he slave then uses the syncn signal to falling-edge align some or all the output clocks. when the syncn signal is a 2khz clock, output clocks 2khz and above are falling- edge aligned. a 4khz or 8khz clock can also be used on the syncn pins without any changes to the register configuration, but only output clocks of 8khz and above are aligned in th is case. phase build-out should be disabled on the slave (pboen = 0 in mcr10 ) when using syncn signals for output clock alignment. an external frame-sync signal is only allowed to aligh output clocks if the t0 dpll is locked and the syncn signal is enabled and qualified. section 7.9.2.1 discusses enable, while section 7.9.2.4 covers qualification. 7.9.2.1 enable and sy ncn pin selection table 7-17 shows how to configure the device for va rious external frame-sync modes. when mcr3 :efsen = 0, external frame sync is disabled. when efsen = 1, thr ee different external frame-sync modes are available: sync1 manual, sync1 auto, and sync123. in sync1 manual mode, external frame sync is enabled on the sync1 pin whenever the t0 dpll is locked, regardless of which input clock is the selected reference. when the t0 dpll is not lock ed, external frame sync is disabled. in this mode the sync2 and sync3 pins are ignored. in sync1 auto mode, external frame sync is automatica lly enabled on the sync1 pin when the t0 dpll is locked to the input clock pin specified by fscr3 :source. if the t0 dpll is not locked or is locked to a different input clock than the one specified by the source field, then ex ternal frame sync is disabled. in this mode the sync2 and sync3 pins are ignored. in sync123 mode, the sync1, sync2, and sync3 pins are ea ch associated with one or more input clock pins as specified by fscr1 :syncsrc. sync1 can be associated with ic3 or ic5 or both. sync2 can be associated with ic4 or ic6 or both. sync3 is always associated with ic9. when the t0 dpll is locked to one of the input clock pins associated with a syncn pin, external fr ame sync is automatically enabled with the corresponding syncn pin as the source. when the t0 dpll is not locked or is locked to an input clock pin that is not associated with a syncn pin then external frame sync is disabled. since sync123 mode is always automatic, mcr3 :aefsen takes on a different meaning in this mode, specifying whether or not mcr3 :efsen is automatically cleared when the t0 dpll?s selected reference changes.
____________________________________________________________________________________________ ds 3102 rev: 102808 47 of 141 table 7-17. external fram e-sync mode and source t0 dpll locked 1 mcr3 : efsen fscr3 : source mcr3 : aefsen fscr1 : syncsrc ptab1 : selref frame-sync mode frame-sync source 0 x xxxx 2 x xxx xxxx disabled internal 3 1 0 xxxx x xxx xxxx disabled internal 1 1 <>11xx 0 xxx xxxx sync1 manual sync1 =fscr3: source sync1 1 1 <>11xx 1 xxx <>fscr3: source sync1 auto internal ic3 or ic5 sync1 0xx ic4 or ic6 sync2 ic3 sync1 1x0 ic4 sync2 ic5 sync1 1x1 ic6 sync2 10x ic9 sync3 11x ic2 sync3 1 1 11xx x 4 all other cases sync123 (auto 4 ) internal note 1: that is, when opstate :t0state= 100. note 2: x = don?t care. note 3: none of the syncn pins is used. the in ternal 2khz alignment generators free-run at their existing alignment. see section 7.9.2.5 . note 4: when source = 11xx, selection and enable of syncn pins is autom atic regardless of the setting of aefsen. in this mode the aefsen bit is retasked to specify whether or not mcr3 :efsen is automatically cleared when the t0 dpll?s selected reference changes. 7.9.2.2 sampling by default the external frame-sync si gnal on the enabled syncn pin is first sampled on the rising edge of the selected reference. this gives the most margin, given that the syncn signal is falling-edge aligned with the selected reference since both come from the master devic e. the expected timing of the syncn signal with respect to the sampling clock can be adjusted from 0. 5 cycles early to 1 cycle late using the fscr2 :phasen[1:0] field. 7.9.2.3 resampling the syncn signal is then resampled by an internal clock der ived from the t0 dpll. the resampling resolution is a function of the frequency of the selected reference and fscr2 :ocn. when ocn = 0, the resampling resolution is 6.48mhz, which gives the highest sampling margin and also aligns clocks at 6.48mhz and multiples thereof. when ocn = 1, if the selected reference is 19.44mhz the resa mpling resolution is 19.44mhz. if the selected reference is 38.88mhz the resampling resolution is 38.88mhz. the sele cted reference must be either 19.44mhz or 38.88mhz. 7.9.2.4 qualification the syncn signal is qualified when it has consistent phas e and correct frequency. specifically, it is qualified when its significant edge has been found at exact 2khz boundaries (when resampled as previously described) for 64 syncn cycles in a row. it is disqualified when one significant edge is not found at the 2khz boundary. 7.9.2.5 output clock alignment when the t0 dpll is locked, external frame sync is enabl ed and the syncn signal is qualified, the syncn signal can be used to falling-edge align th e t0 dpll derived output clocks. out put clocks fsync and mfsync share a 2khz alignment generator, while the rest of the t0 dpll derived output clocks share a second 2khz alignment generator. when external frame sync is not enabled or the syncn signal is not qualified, these 2hz alignment generators free-run with their existing 2khz alignments. when external frame sync is enabled and the syncn signal is qualified, the fsync/mfsync 2khz alignm ent generator is always synchronized by syncn, and, therefore, fsync and mfsync are always falling-edge aligned with syncn. when fscr2 :indep = 0, the t0 dpll 2khz alignment generator is also synchronized with the fsync/mfsync 2khz alignment generator to falling-edge align all t0-derived output clocks with syncn. when indep = 1, the t0 dpll 2khz alignment
____________________________________________________________________________________________ ds 3102 rev: 102808 48 of 141 generator is not synchronized with the fsync/mfsync 2khz alignm ent generator and continues to free-run with its existing 2khz alignment. this av oids any disturbance on the t0 dpll derived output clocks when syncn has a change of phase position. 7.9.2.6 frame-sync monitor the frame-sync monitor signal opstate :fsmon operates in two modes, depending on the setting of the enable bit ( mcr3 :efsen). when efsen = 1 (external frame sync enabled), the opstate :fsmon bit is set when syncn is not qualified and cleared when syncn is qualified. if syncn is disqua lified, both 2khz alignment generators are immediately disconnected from syncn to avoid phase movement on the t0-derived outputs clocks. when opstate :fsmon is set, the latched status bit msr3 :fsmon is also set, which can c ause an interrupt if enabled in the ier3 register. if syncn immediately stabilizes at a new phase and prope r frequency, it is requalified after 64 2khz cycles (nominally 32ms). unless system softw are intervenes, after syncn is requa lified the 2khz alignment generators will synchronize with syncn?s new phase alignment, causing a sudden phase movement on the output clocks. system software can avoid this sudden phase movement on the output clocks by responding to the fsmon interrupt within the 32ms window with appropriate action, which might include disabling external frame sync ( mcr3 :efsen = 0) to prevent the resynchronization of the 2khz alignment generators with syncn, forcing the t0 dpll into holdover ( mcr1 :t0state = 010) to avoid affecting the out put clocks with any other phase hits, and possibly even disabling the master timing card and promoti ng the slave timing card to master since the 2khz signal from the master should not have such phase movements. when efsen = 0 (external frame sync disabled), opstate :fsmon is set when the negative edge of the resampled syncn signal is outside the window determined by fscr3 :monlim relative to the mfsync negative edge (or positive edge if mfsync is inverted) and clear when within the window. when opstate :fsmon is set, the latched status bit msr3 :fsmon is also set, which can cause an interrupt if enabled in the ier3 register. 7.9.3 syncn pins fsync and mfsync are always produced from the t0 dpll . the other output clocks can also be configured as 2khz or 8khz outputs, de rived from the t0 dpll. table 7-18. external frame-sync source syncsrc[2:0] selected reference external frame- sync source ic3 or ic5 sync1 ic4 or ic6 sync2 0xx ic9 or ic2 sync3 ic3 sync1 1x0 ic4 sync2 10x ic9 sync3 ic5 sync1 1x1 ic6 sync2 11x ic2 sync3 there are three phasen[1:0] (n = 1, 2, 3) select fields in the fscr2 register. phase1[1:0] is associated with sync1, phase2[1:0] is associated with sync2, and ph ase3[1:0] is associated with sync3. all three syncn inputs can have their timing adjusted to account for frame- sync signal vs. clock signal delay differences in each path. when this function is enabled with fscr3 .source = 11xx, mcr3 .aefsen, and mcr3 .efsen, the monitoring and qualification function described in section 7.9.2 is only performed on the selected syncn input pin.
____________________________________________________________________________________________ ds 3102 rev: 102808 49 of 141 7.9.4 other confi guration options fsync and mfsync are always produced from the t0 dp ll. output clocks oc1 to oc7 can also be configured as 2khz or 8khz outputs, derived from either the t0 dp ll or the t4 dpll (as specified by the 2k8ksrc bit in fscr1 ). if needed, the t4 dpll can be used as a separate dpll for the frame-sync path by configuring it for a 2khz input and 2khz and/or 8khz frame-sync outputs. 7.10 microprocessor interface the device presents an spi interface on the cs , sclk, sdi, and sdo pins. spi is a widely used master/slave bus protocol that allows a master device and one or more sl ave devices to communicate over a serial bus. the ds3102 is always a slave device. masters ar e typically microprocessors, asics, or fpgas. data transfers are always initiated by the master device, which also generates the sclk signal. the ds3102 receives serial data on the sdi pin and transmits serial data on the sdo pin. sdo is high impedance except when the ds3102 is transmitting data to the bus master. bit order. when both bit 3 and bit 4 are low at device address 3fffh, the register address and all data bytes are transmitted msb first on both sdi and sdo. when either bi t 3 or bit 4 is set to 1 at device address 3fffh, the register address and all data bytes are transmitted lsb first on both sdi and sdo. the reset default setting and motorola spi convention is msb first. clock polarity and phase. the cpol pin defines the polarity of sclk . when cpol = 0, sclk is normally low and pulses high during bus transactions. when cpol = 1, sclk is normally high and pulses low during bus transactions. the cpha pin sets the phase (active edge) of sclk. when cpha = 0, data is latched in on sdi on the leading edge of the sclk pulse and updated on sdo on t he trailing edge. when cpha = 1, data is latched in on sdi on the trailing edge of the sclk pulse and updated on sdo on the following leading edge. sclk does not have to toggle between access, i.e., when cs is high. see figure 7-5 . device selection. each spi device has its own chip-selec t line. to select the ds3102, pull its cs pin low. control word. after cs is pulled low, the bus master transmits the c ontrol word during the first 16 sclk cycles. in msb-first mode, the control word has the form: r/ w a13 a12 a11 a10 a9 a8 a7 a6 a5 a4 a3 a2 a1 a0 burst where a[13:0] is the register address, r/ w is the data direction bit (1 = read, 0 = write), and burst is the burst bit (1 = burst access, 0 = single-byte access). in lsb-first mo de, the order of the 14 address bits is reversed. in the discussion that follows, a control word with r/ w = 1 is a read control word, while a control word with r/ w = 0 is a write control word. single-byte writes. see figure 7-6 . after cs goes low, the bus master transmits a write control word with burst = 0 followed by the data byte to be written. the bus master then te rminates the transaction by pulling cs high. single-byte reads. see figure 7-6 . after cs goes low, the bus master transmits a read control word with burst = 0. the ds3102 then responds with the requested data byte. the bus master then terminates the transaction by pulling cs high. burst writes. see figure 7-6 . after cs goes low, the bus master transmits a write control word with burst = 1 followed by the first data byte to be written. the ds3102 receives the first data byte on sdi, writes it to the specified register, increments its inte rnal address register, and prepares to receive the next data byte. if the master continues to transmit, the ds3102 continues to write the data received and increment its address counter. after the address counter reaches 3fffh it rolls over to address 0000h and continues to increment. burst reads. see figure 7-6 . after cs goes low, the bus master transmits a read control word with burst = 1. the ds3102 then responds with the requested data byte on sdo, increments its addres s counter, and prefetches the next data byte. if the bus master continues to demand data, the ds3102 continues to provide the data on sdo,
____________________________________________________________________________________________ ds 3102 rev: 102808 50 of 141 increment its address counter, and prefetch the following by te. after the address counter reaches 3fffh, it rolls over to address 0000h and continues to increment. early termination of bus transactions. the bus master can terminate spi bus transactions at any time by pulling cs high. in response to early terminations, the ds3102 resets its spi interface logic and waits for the start of the next transaction. if a write transaction is terminat ed prior to the sclk edge that latches the lsb of a data byte, the data byte is not written. design option: wiring sdi and sdo together. because communication between the bus master and the ds3102 is half-duplex, the sdi and sdo pins can be wired to gether externally to reduce wire count. to support this option, the bus master must not drive the sdi/sdo line when the ds3102 is transmitting. ac timing. see table 10-10 and figure 10-4 for ac timing specifications for the spi interface. figure 7-5. spi clock phase options msb lsb 6 5 4 3 2 1 cs sclk sdi/sdo clock edge used for data capture (all modes) cpol = 0, cpha = 0 cpol = 0, cpha = 1 cpol = 1, cpha = 0 cpol = 1, cpha = 1 sclk sclk sclk
____________________________________________________________________________________________ ds 3102 rev: 102808 51 of 141 figure 7-6. spi bus transactions r/ w register address burst data byte sdi cs sdo single-byte write single-byte read r/ w register address burst data byte r/ w register address burst data byte 1 burst write sdi cs sdo sdi cs sdo 0 (write) 0 (single-byte) 1 (read) 0 (single-byte) 0 (write) 1 (burst) data byte n r/ w register address burst data byte 1 burst read sdi cs 1 (read) 1 (burst) data byte n
____________________________________________________________________________________________ ds 3102 rev: 102808 52 of 141 7.11 reset logic the device has three reset controls: the rst pin, the rst bit in mcr1 , and the jtag reset pin jtrst . the rst pin asynchronously resets the entire device , except for the jtag logic. when the rst pin is low all internal registers are reset to their default values, including those fiel ds that latch their default values from, or based on, the states of configuratio n input pins when the rst goes high. the rst pin must be asserted once after power-up while the external oscillator is stabilizing. the mcr1 :rst bit resets the entire device (except for the mi croprocessor interface, the jtag logic, and the rst bit itself), but when rst is active, the register fields with pin-programmed defaults do not latch their values from, or based on, the corresponding input pins. instead, these fields are reset to the default values that were latched when the rst pin was last active. maxim recommends holding rst low while the external oscillator starts up and stabilizes. some ocxos take 250ms or more to start up and stabilize their output signals to valid logic levels and pulse widths. an incorrect reset condition could result if rst is released before the oscilla tor has started up completely. important: system software must wait at least 100s after reset ( rst pin or rst bit) is deasserted before initializing the device as described in section 7.13 . 7.12 power-supply considerations due to the dual-power-supply nature of the ds3102, some i/os have parasitic diodes between a 1.8v supply and a 3.3v supply. when ramping power supplies up or down, ca re must be taken to avoid forward-biasing these diodes because it could cause latchup. two me thods are available to prevent this. the first method is to place a schottky diode external to the device between the 1.8v supply and the 3.3v supply to fo rce the 3.3v supply to be within one parasitic diode drop below the 1.8v supply (i.e., v ddio > v dd - 0.4v). the second method is to ramp up the 3.3v supply first and then ramp up the 1.8v supply. 7.13 initialization after power-up or reset, a series of writes must be done to the ds3102 to tune it for optimal performance. this series of writes is called the initialization script. each ds3102 die revision has a different initialization script. download the latest initialization sc ripts from the ds3102 webpage at www.maxim-ic.com/ds3102 . note: system software must wait at least 100 s after reset is deasserted before initializing the device.
____________________________________________________________________________________________ ds 3102 rev: 102808 53 of 141 8. register descriptions the ds3102 has an overall address range from 000h to 1ffh. table 8-1 in section 8.4 shows the register map. in each register, bit 7 is the msb and bit 0 is the lsb. regist er addresses not listed and bits marked ??? are reserved and must be written with 0. writing other values to these registers may put the device in a factory test mode resulting in undefined operation. bits labeled ?0? or ?1? must be written with that value fo r proper operation. register fields with underlined names are read-only fields; writes to these fi elds have no effect. all other fields are read- write. register fields are described in deta il in the register descriptions that follow table 8-1 . 8.1 status bits the device has two types of status bits. real-time status bits are read-only and indicate the state of a signal at the time it is read. latched status bits are set when a signal changes state (low-to-high, hi gh-to-low, or both, depending on the bit) and cleared when written with a logic 1 value. wr iting a 0 has no effect. when set, some latched status bits can cause an interrupt request on the intreq pin if enabled to do so by corresponding interrupt enable bits. isr#.lock# are special-case latched status bits becaus e they cannot create an inte rrupt request on the intreq pin and a ?write 0? is needed to clear them. 8.2 configuration fields configuration fields are read-write. du ring reset, each configuration field reverts to the default value shown in the register definition. configuration register bits marked ??? are reserved and must be written with 0. 8.3 multiregister fields multiregister fields?such as freq[18:0] in registers freq1 , freq2 , and freq3 ?must be handled carefully to ensure that the bytes of the field remain consistent. a write access to a multiregister field is accomplished by writing all the registers of the field in any order, with no intervening accesses to other registers in the device. if the write sequence is interrupted by another acce ss, none of the bytes are written and the msr4 :mraa latched status bit is set to indicate the write was aborted. a read access from a multiregister field is accomplished by reading the registers of the field in any order, with no intervening acce sses to other registers in the device. when one register of a multiregister field is read, the ot her register(s) in the field are frozen until after they are all read. if the read sequence is interrupted by another access, the regi sters of the multibyte field are unfrozen and the msr4 :mraa bit is set to indicate the read was aborted. for best results, interrupt servicin g should be disabled in the microprocessor before a multiregiste r access and then enabled again after the access is complete. the multiregister fields are: field registers addresses type freq[18:0] freq1 , freq2 , freq3 0ch, 0dh, 07h read only mclkfreq[15:0] mclk1 , mclk2 3ch, 3dh read/write hofreq[18:0] hocr1 , hocr2 , hocr3 * 3eh, 3fh, 40h read/write hardlim[9:0] dlimit1 , dlimit2 41h, 42h read/write divn[15:0] divn1 , divn2 46h, 47h read/write offset[15:0] offset1 , offset2 70h, 71h read/write phase[15:0] phase1 , phase2 77h, 78h read only * hocr3 is a special case because its upper 5 bits are not part of a mu ltiregister field, but its lower 3 bits are part of the hofreq[ 18:0] multiregister field. writes to hocr3 immediately update the upper 5 bits wit hout any requirement to also write hocr1 and hocr2 . the lower 3 bits of hocr3 (hofreq[18:16]), however, can only be written as part of a pr oper write sequence for a multiregister field, as described above. a write to hocr3 contiguous with writes to hocr1 and hocr2 can simultaneously write the upper 5 bits immediately and start/continue/complete a multiregister write of hofreq[18:0].
____________________________________________________________________________________________ ds 3102 rev: 102808 54 of 141 8.4 register definitions table 8-1. register map note: register names are hyperlinks to register definitions. underlined fields are read-only. addr register bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00h id1 id[7:0] 01h id2 id[15:8] 02h rev rev[7:0] 03h test1 palarm d180 ? ra 0 8kpol 0 0 05h msr1 ic8 ? ic6 ic5 ic4 ic3 ic2 ic1 06h msr2 state srfail ? ? ? ? ? ic9 07h freq3 ? ? ? ? ? freq[18:16] 08h msr3 fsmon t4lock ? t4noin ? ? ? ? 09h opstate fsmon t4lock t0soft t4soft ? t0state[2:0] 0ah ptab1 ref1[3:0] selref[3:0] 0bh ptab2 ref3[3:0] ref2[3:0] 0ch freq1 freq[7:0] 0dh freq2 freq[15:8] 0eh valsr1 ic8 ? ic6 ic5 ic4 ic3 ic2 ic1 0fh valsr2 fhordy shordy ? ? ? ? ? ic9 10h isr1 soft2 hard2 act2 lock2 soft1 hard1 act1 lock1 11h isr2 soft4 hard4 act4 lock4 soft3 hard3 act3 lock3 12h isr3 soft6 hard6 act6 lock6 soft5 hard5 act5 lock5 13h isr4 soft8 hard8 act8 lock8 ? ? ? ? 14h isr5 ? ? ? ? soft9 hard9 act9 lock9 17h msr4 fhordy shordy mraa ? ? ? ? ? 18h ipr1 pri2[3:0] pri1[3:0] 19h ipr2 pri4[3:0] pri3[3:0] 1ah ipr3 pri6[3:0] pri5[3:0] 1bh ipr4 pri8[3:0] ? 1ch ipr5 ? pri9[3:0] 20h icr1 divn lock8k bucket[1:0] freq[3:0] 21h icr2 divn lock8k bucket[1:0] freq[3:0] 22h icr3 divn lock8k bucket[1:0] freq[3:0] 23h icr4 divn lock8k bucket[1:0] freq[3:0] 24h icr5 divn lock8k bucket[1:0] freq[3:0] 25h icr6 divn lock8k bucket[1:0] freq[3:0] 27h icr8 divn lock8k bucket[1:0] freq[3:0] 28h icr9 divn lock8k bucket[1:0] freq[3:0] 30h valcr1 ic8 ? ic6 ic5 ic4 ic3 ic2 ic1 31h valcr2 ? ? ? ? ? ? ? ic9 32h mcr1 rst ? fren lockpin ? t0state[2:0] 33h mcr2 ? ? ? ? t0force[3:0] 34h mcr3 aefsen lkato xoedge manho efsen sonsdh ? revert 35h mcr4 lkt4t0 ? ? ? t4force[3:0] 36h mcr5 rsv4 rsv3 rsv2 rsv1 ic2sf ic1sf ic6sf ic5sf 37h ocr6 ? oc5en oc4en oc5ben oc4ben oc3ben oc2ben oc1ben 38h mcr6 dig2af dig2ss dig1ss ? ? ? ? ? 39h mcr7 dig2f[1:0] dig1f[1:0] ? ? dig2src dig1src
____________________________________________________________________________________________ ds 3102 rev: 102808 55 of 141 addr register bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 3ah mcr8 oc5sf oc4sf oc7sf oc6sf 3bh mcr9 autobw ? ? ? limint ? ? ? 3ch mclk1 mclkfreq[7:0] 3dh mclk2 mclkfreq[15:8] 3eh hocr1 hofreq[7:0] 3fh hocr2 hofreq[15:8] 40h hocr3 avg fast rdavg miniho[1:0] hofreq[18:16] 41h dlimit1 hardlim[7:0] 42h dlimit2 ? ? ? ? ? ? hardlim[9:8] 43h ier1 ic8 ? ic6 ic5 ic4 ic3 ic2 ic1 44h ier2 state srfail ? ? ? ? ? ic9 45h ier3 fsmon t4lock ? t4noin ? ? ? ? 46h divn1 divn[7:0] 47h divn2 divn[15:8] 48h mcr10 fmonclk srfpin ufsw extsw pbofrz pboen soften harden 49h ilimit soft[3:0] hard[3:0] 4ah srlimit soft[3:0] hard[3:0] 4bh mcr11 ? ? ? t4t0 fmeasin[3:0] 4ch fmeas fmeas[7:0] 4dh dlimit3 fllol softlim[6:0] 4eh ier4 fhordy shordy ? ? ? ? ? ? 4fh ocr5 ? aof7 aof6 aof5 aof4 aof3 aof2 aof1 50h lb0u lb0u[7:0] 51h lb0l lb0l[7:0] 52h lb0s lb0s[7:0] 53h lb0d ? ? ? ? ? ? lb0d[1:0] 54h lb1u lb1u[7:0] 55h lb1l lb1l[7:0] 56h lb1s lb1s[7:0] 57h lb1d ? ? ? ? ? ? lb1d[1:0] 58h lb2u lb2u[7:0] 59h lb2l lb2l[7:0] 5ah lb2s lb2s[7:0] 5bh lb2d ? ? ? ? ? ? lb2d[1:0] 5ch lb3u lb3u[7:0] 5dh lb3l lb3l[7:0] 5eh lb3s lb3s[7:0] 5fh lb3d ? ? ? ? ? ? lb3d[1:0] 60h ocr1 ofreq2[3:0] ofreq1[3:0] 61h ocr2 ofreq4[3:0] ofreq3[3:0] 62h ocr3 ofreq6[3:0] ofreq5[3:0] 63h ocr4 mfsen fsen ? ? ofreq7[3:0] 64h t4cr1 ? ? ? ? t4freq[3:0] 65h t0cr1 t4mt0 t4apt0 t0ft4[2:0] t0freq[2:0] 66h t4bw ? ? ? ? ? ? t4bw[1:0] 67h t0lbw ? ? ? t0lbw[4:0] 69h t0abw ? ? ? t0abw[4:0] 6ah t4cr2 ? pd2g8k[2:0] ? damp[2:0] 6bh t0cr2 ? pd2g8k[2:0] ? damp[2:0] 6ch t4cr3 pd2en ? pd2g[2:0]
____________________________________________________________________________________________ ds 3102 rev: 102808 56 of 141 addr register bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 6dh t0cr3 pd2en ? pd2g[2:0] 6eh gpcr gpio4d gpio3d gpio2d gpio1d gpio4o gpio3o gpio2o gpio1o 6fh gpsr ? ? ? ? gpio4 gpio3 gpio2 gpio1 70h offset1 offset[7:0] 71h offset2 offset[15:8] 72h pboff ? ? pboff[5:0] 73h phlim1 flen nalol 1 ? ? finelim[2:0] 74h phlim2 clen mcpden usemcpd ? coarselim[3:0] 76h phmon nw ? ? ? ? 77h phase1 phase[7:0] 78h phase2 phase[15:8] 79h phlkto phlktom[1:0] phlkto[5:0] 7ah fscr1 2k8ksrc syncsrc 8kinv 8kpul 2kinv 2kpul 7bh fscr2 indep ocn phase3[1:0] phase2[1:0] phase1[1:0] 7ch fscr3 recal monlim[2:0] source[3:0] 7dh intcr ? ? ? ? los gpo od pol 7eh prot prot[7:0] register map color coding device identification and protection local oscillator and master clock configuration input clock configuration input clock monitoring input clock selection dpll configuration dpll state output clock configuration frame/multiframe-sync configuration
____________________________________________________________________________________________ ds 3102 rev: 102808 57 of 141 register name: id1 register description: device identification register, lsb register address: 00h bit # 7 6 5 4 3 2 1 0 name id[7:0] default 0 0 1 0 0 0 0 0 bits 7 to 0: device id (id[7:0]). id[15:0] = 0c1eh = 3102 decimal. register name: id2 register description: device identification register, msb register address: 01h bit # 7 6 5 4 3 2 1 0 name id[15:8] default 0 0 0 0 1 1 0 0 bits 7 to 0: device id (id[15:8]). see the id1 register description. register name: rev register description: device revision register register address: 02h bit # 7 6 5 4 3 2 1 0 name rev[7:0] default 0 0 0 0 0 0 0 0 bits 7 to 0: device revision (rev[7:0]). contact the factory to interpret this value and determine the latest revision.
____________________________________________________________________________________________ ds 3102 rev: 102808 58 of 141 register name: test1 register description: test register 1 (not normally used) register address: 03h bit # 7 6 5 4 3 2 1 0 name palarm d180 ? ra 0 8kpol 0 0 default 0 0 0 1 0 1 0 0 bit 7: phase alarm (palarm). this real-time status bit indicates the st ate of the t0 dpll phase-lock detector. see section 7.7.6 . ( note: this is not the same as t0state = locked.) 0 = t0 dpll phase-lock parameters are met (flen, clen, nalol, fllol) 1 = t0 dpll loss-of-phase lock bit 6: disable 180 (d180). when locking to a new reference, the t0 dpll first tries nearest edge locking ( 180 ) for the first two seconds. if unsuccessful it then tries full phase/frequency locking ( 360 ). disabling the nearest edge locking can reduce lock time by up to two seco nds but may cause an unnecessary phase shift (up to 360 ) when the new reference is close in frequency /phase to the old reference. see section 7.7.5 . 0 = normal operation: try nearest edge locking then phase/frequency locking 1 = phase/frequency locking only bit 4: resync analog dividers (ra). when this bit is set the analog output dividers are always synchronized to ensure that low-frequency outputs are in sync with the higher frequency clock from the dpll. 0 = synchronized for the first two seconds after power-up 1 = always synchronized bits 3, 1, and 0: leave set to zero (test control). bit 2: 8khz edge polarity (8kpol). specifies the input clock edge to lock to on the selected reference when it is configured for lock8k mode. see section 7.4.2 . 0 = falling edge 1 = rising edge
____________________________________________________________________________________________ ds 3102 rev: 102808 59 of 141 register name: msr1 register description: master status register 1 register address: 05h bit # 7 6 5 4 3 2 1 0 name ic8 ? ic6 ic5 ic4 ic3 ic2 ic1 default 1 0 1 1 1 1 1 1 bits 7 and 5 to 0: input clock status change (ic8 and ic[6:1]). each of these latched status bits is set to 1 when the corresponding valsr1 status bit changes state (set or cl eared). if soft frequency limit alarms are enabled ( mcr10 :soften = 1), each of these latched status bits is also set to 1 when the corresponding soft bit in the isr registers changes state (set or cleared). each bit is cleared when written with a 1 and not set again until the valsr1 bit changes state again. when one of these latched status bits is set it can cause an interrupt request on the intreq pin if the corresponding interrupt enable bit is set in the ier1 register. see section 7.5 for input clock validation/inva lidation criteria. register name: msr2 register description: master status register 2 register address: 06h bit # 7 6 5 4 3 2 1 0 name state srfail ? ? ? ? ? ic9 default 0 0 0 0 0 0 0 1 bit 7: t0 dpll state change (state). this latched status bit is set to 1 wh en the operating state of the t0 dpll changes. state is cleared when written with a 1 and not set again until the operating state changes again. when state is set it can cause an interrupt request on the in treq pin if the state interrupt enable bit is set in the ier2 register. the current operating state ca n be read from the t0state field of the opstate register. see section 7.7.1 . bit 6: selected reference failed (srfail). this latched status bit is set to 1 when the selected reference to the t0 dpll fails, (i.e., no clock edges in two ui). srfail is cleared when written wi th a 1. when srfail is set it can cause an interrupt request on the intreq pin if the srfail interrupt enable bit is set in the ier2 register. srfail is not set in free-run mode or holdover mode. see section 7.5.3 . bit 0: input clock status change (ic9). this latched status bit is set to 1 when the corresponding valsr status bit changes state (set or cleared). if soft frequency limit alarms are enabled ( mcr10 :soften = 1), this bit is also set to 1 when the corresponding soft bit in the isr registers changes state (set or cleared). this bit is cleared when written with a 1 and not set again until either the valsr2 bit or the soft bit changes state. when this bit is set it can cause an interrupt request on the intreq pi n if the corresponding interrupt enable bit is set in the ier2 register. see section 7.5 for input clock validation/invalidation criteria.
____________________________________________________________________________________________ ds 3102 rev: 102808 60 of 141 register name: freq3 register description: frequency register 3 register address: 07h bit # 7 6 5 4 3 2 1 0 name ? ? ? ? ? freq[18:16] default 0 0 0 0 0 0 0 0 bits 2 to 0: current dpll frequency (freq[18:16]). see the freq1 register description. register name: msr3 register description: master status register 3 register address: 08h bit # 7 6 5 4 3 2 1 0 name fsmon t4lock ? t4noin ? ? ? ? default 0 1 0 1 0 0 0 0 bit 7: frame-sync input monitor alarm (fsmon). this latched status bit is set to 1 when opstate :fsmon transitions from 0 to 1. fsmon is cleared when written wi th a 1. when fsmon is set it can cause an interrupt request on the intreq pin if the fsmon interrupt enable bit is set in the ier3 register. see section 7.9.2 . bit 6: t4 dpll lock status change (t4lock). this latched status bit is set to 1 when the lock status of the t4 dpll ( opstate :t4lock) changes (becomes locked when previ ously unlocked or becomes unlocked when previously locked). t4lock is cleared when written with a 1 and not set again until the t4 lock status changes again. when t4lock is set it can cause an interrupt reque st on the intreq pin if the t4lock interrupt enable bit is set in the ier3 register. see section 7.7.6 . bit 4: t4 no valid inputs alarm (t4noin). this latched status bit is set to 1 when the t4 dpll has no valid inputs available. t4noin is cleared when written with a 1 unless the t4 dpll still has no valid inputs available. when t4noin is set it can cause an interrupt request on the intreq pin if the t4noin interrupt enable bit is set in the ier3 register. see section 7.5 .
____________________________________________________________________________________________ ds 3102 rev: 102808 61 of 141 register name: opstate register description: operating state register register address: 09h bit # 7 6 5 4 3 2 1 0 name fsmon t4lock t0soft t4soft ? t0state[2:0] default 1 0 0 0 0 0 0 1 bit 7: frame-sync input monitor alarm (fsmon). this real-time status bit indicates the current status of the frame-sync input monitor. see section 7.9.2.6 . 0 = no alarm 1 = alarm bit 6: t4 dpll lock status (t4lock). this real-time status bit indicates the current phase-lock status of the t4 dpll. see sections 7.5.3 and 7.7.6 . 0 = not locked to selected reference 1 = locked to selected reference bit 5: t0 dpll frequency soft alarm (t0soft). this real-time status bit indicates whether the t0 dpll is tracking its reference within the soft alarm lim its specified in the soft[6:0] field of the dlimit3 register. see section 7.7.6 . 0 = no alarm; frequency is within the soft alarm limits 1 = soft alarm; frequency is outside the soft alarm limits bit 4: t4 dpll frequency soft alarm (t4soft). this real-time status bit indicates whether the t4 dpll is tracking its reference within the soft alarm lim its specified in the soft[6:0] field of the dlimit3 register. see section 7.7.6 . 0 = no alarm; frequency is within the soft alarm limits 1 = soft alarm; frequency is outside the soft alarm limits bits 2 to 0: t0 dpll operating state (t0state[2:0]). this real-time status field indi cates the current state of the t0 dpll state machine. values not listed below co rrespond to invalid (unused) states. see section 7.7.1 . 001 = free-run 010 = holdover 100 = locked 101 = prelocked 2 110 = prelocked 111 = loss-of-lock
____________________________________________________________________________________________ ds 3102 rev: 102808 62 of 141 register name: ptab1 register description: priority table register 1 register address: 0ah bit # 7 6 5 4 3 2 1 0 name ref1[3:0] selref[3:0] default 0 0 0 0 0 0 0 0 bits 7 to 4: highest priority valid reference (ref1[3:0]). this real-time status field indicates the highest priority valid input reference. when t4t0 = 0 in the mcr11 register, this field indicates the highest priority reference for the t0 dpll. when t4t0 = 1, it indicates the highest priority reference for the t4 dpll. note that an input reference cannot be indicated in this field if it has been marked invalid in the valcr1 or valcr2 register. when the t0 dpll is in nonreve rtive mode (revert = 0 in the mcr3 register) this field may not have the same value as the selref[3:0] field. see section 7.6.2 . 0000 = no valid input reference available 0001 = input ic1 0010 = input ic2 0011 = input ic3 0100 = input ic4 0101 = input ic5 0110 = input ic6 0111 = {unused value} 1000 = input ic8 1001 = input ic9 1010 to 1111 = {unused values} bits 3 to 0: selected reference (selref[3:0]). this real-time status field indicates the current selected reference. when t4t0 = 0 in the mcr11 register, this field indicates the selected reference for the t0 dpll. when t4t0 = 1, it indicates the selected reference for the t4 dpll. note that an input clock cannot be indicated in this field if it has been marked invalid in the valcr1 or valcr2 register. when the t0 dpll is in nonrevertive mode (revert = 0 in the mcr3 register) this field may not have the same value as the ref1[3:0] field. see section 7.6.2 . 0000 = no source currently selected 0001 = input ic1 0010 = input ic2 0011 = input ic3 0100 = input ic4 0101 = input ic5 0110 = input ic6 0111 = {unused value} 1000 = input ic8 1001 = input ic9 1010 to 1111 = {unused values}
____________________________________________________________________________________________ ds 3102 rev: 102808 63 of 141 register name: ptab2 register description: priority table register 2 register address: 0bh bit # 7 6 5 4 3 2 1 0 name ref3[3:0] ref2[3:0] default 0 0 0 0 0 0 0 0 bits 7 to 4: third highest priority valid reference (ref3[3:0]). this real-time status field indicates the third highest priority validated input reference. when t4t0 = 0 in the mcr11 register, this field indicates the third highest priority reference for the t0 dpll. when t4t0 = 1, it indicates the third highest reference for the t4 dpll. note that an input reference cannot be indicated in this field if it has been marked invalid in the valcr1 or valcr2 register. see section 7.6.2 . 0000 = less than three valid sources available 0001 = input ic1 0010 = input ic2 0011 = input ic3 0100 = input ic4 0101 = input ic5 0110 = input ic6 0111 = {unused value} 1000 = input ic8 1001 = input ic9 1010 to 1111 = {unused values} bits 3 to 0: second highest priority valid reference (ref2[3:0]). this real-time status field indicates the second highest priority validated input reference. when t4t0 = 0 in the mcr11 register, this field indicates the second highest priority reference for the t0 dpll. when t4 t0 = 1, it indicates the second highest reference for the t4 dpll. note that an input reference cannot be indicated in this field if it has been marked invalid in the valcr1 or valcr2 register. see section 7.6.2 . 0000 = less than two valid sources available 0001 = input ic1 0010 = input ic2 0011 = input ic3 0100 = input ic4 0101 = input ic5 0110 = input ic6 0111 = {unused value} 1000 = input ic8 1001 = input ic9 1010 to 1111 = {unused values}
____________________________________________________________________________________________ ds 3102 rev: 102808 64 of 141 register name: freq1 register description: frequency register 1 register address: 0ch bit # 7 6 5 4 3 2 1 0 name freq[7:0] default 0 0 0 0 0 0 0 0 note: the freq1, freq2, and freq3 registers must be read consecutively. see section 8.3 . bits 7 to 0: current dpll frequency (freq[7:0]). the full 19-bit freq[18:0] field spans this register, freq2, and freq3. freq is a two?s-complement signed integer that expresses the current frequency as an offset with respect to the master clock frequency (see section 7.3 ). when t4t0 = 0 in the mcr11 register, freq indicates the current frequency offset of the t0 dpll. when t4t0 = 1, freq indicate s the current frequency offset of the t4 path. because the value in this register field is der ived from the dpll integral path, it can be considered an average frequency with a rate of change inversely proportional to the dpll bandwidth. if limint = 1 in the mcr9 register, the value of freq freezes when the dpll re aches its minimum or maximum frequency. the frequency offset in ppm is equal to freq[18:0] 0.0003068. see section 7.7.1.6 . application note: frequency measurements are relative, i.e., they measure the frequency of the selected reference with respect to the local oscillator. as such, when a frequenc y difference exists, it is difficult to distinguish whether the selected reference is off frequency or the local o scillator is off frequency. in systems with timing card redundancy, the use of two timing cards, master and slave, can address this difficulty. both master and slave have separate local oscillators, and each measures the selected reference. these two measurements provide the necessary information to distinguish which reference is off frequency, if we make the simple assumption that at most one reference has a significant frequency deviation at any given time (i.e., a single point of failure). if both master and slave indicate a significant frequency offset, then the selected reference must be off frequency. if the master indicates a frequency offset but the slave does no t, then the master?s local oscillator must be off frequency. likewise, if the slave indicates a freq uency offset but the master does not, t hen the slave?s local oscillator must be off frequency. register name: freq2 register description: frequency register 2 register address: 0dh bit # 7 6 5 4 3 2 1 0 name freq[15:8] default 0 0 0 0 0 0 0 0 bits 7 to 0: current dpll frequency (freq[15:8]). see the freq1 register description.
____________________________________________________________________________________________ ds 3102 rev: 102808 65 of 141 register name: valsr1 register description: input clock valid status register 1 register address: 0eh bit # 7 6 5 4 3 2 1 0 name ic8 ? ic6 ic5 ic4 ic3 ic2 ic1 default 0 0 0 0 0 0 0 0 bits 7 and 5 to 0: input clock valid status (ic8 and ic[6:1]). each of these real-time status bits is set to 1 when the corresponding input clock is valid. an input is valid if it has no active alarms (hard = 0, act = 0, lock = 0 in the corresponding isr register). see also the msr1 register and section 7.5 . 0 = invalid 1 = valid register name: valsr2 register description: input clock valid status register 2 register address: 0fh bit # 7 6 5 4 3 2 1 0 name fhordy shordy ? ? ? ? ? ic9 default 0 0 0 0 0 0 0 0 bit 7: fast holdover frequency ready (fhordy). this real-time status bit is set to 1 when the t0 dpll has a holdover value that has been averaged over the 8-minute holdover averaging period. see the related latched status bit in msr4 and section 7.7.1.6 . bit 6: slow holdover frequency ready (shordy). this real-time status bit is set to 1 when the t0 dpll has a holdover value that has been averaged over the 110-minut e holdover averaging period. see the related latched status bit in msr4 and section 7.7.1.6 . bit 0: input clock valid status (ic9). this bit has the same behavior as the bits in valsr1 but for the ic9 clock.
____________________________________________________________________________________________ ds 3102 rev: 102808 66 of 141 register name: isr1 register description: input status register 1 register address: 10h bit # 7 6 5 4 3 2 1 0 name soft2 hard2 act2 lock2 soft1 hard1 act1 lock1 default 0 1 1 0 0 1 1 0 bit 7: soft frequency limit alarm for input clock 2 (soft2). this real-time status bit indicates a soft frequency limit alarm for input clock 2. if ic2 is the selected referenc e, soft2 is set to 1 when the frequency of ic2 is greater than or equal to the soft limit set in the srlimit register. if ic2 is not the selected reference then soft2 is set to 1 when the frequency of ic2 is greater than or equal to the soft limit set in the ilimit register. soft alarms are disabled by default but can be enabl ed by setting soften = 1 in the mcr10 register. a soft alarm does not invalidate an input clock. see section 7.5.1 . bit 6: hard frequency limit alarm for input clock 2 (hard2). this real-time status bit indicates a hard frequency limit alarm for input clock 2. if ic2 is the select ed reference, hard2 is set to 1 when the frequency of ic2 is greater than or equal to the hard limit set in the srlimit register. if ic2 is not the selected reference hard2 is set to 1 when the frequency of ic2 is great er than or equal to the hard limit set in the ilimit register. hard alarms are enabled by default but can be disabled by setting harden = 0 in the mcr10 register. a hard alarm clears the ic2 status bit in the valsr1 register, invalidating t he ic2 clock. see section 7.5.1 . bit 5: activity alarm for input clock 2 (act2). this real-time status bit is set to 1 when the leaky bucket accumulator for ic2 reaches the alarm threshold specified in the lbxu register (where x in lbxu is specified in the bucket field of icr1 ). an activity alarm clears the ic2 status bit in the valsr1 register, invalidating the ic2 clock. see section 7.5.2 . bit 4: phase-lock alarm for input clock 2 (lock2). this status bit is set to 1 if ic2 is the selected reference and the t0 dpll cannot phase lock to ic 2 within the duration specified in the phlkto register (default = 100 seconds). a phase lock alarm clears the ic2 status bit in valsr1 , invalidating the ic2 clock. if lkato = 1 in mcr3 then lock2 is automatically cleared after a timeout period of 128 seconds. lock2 is a read/write bit. system software can clear lock4 by writing 0 to it, but writing 1 is ignored. see section 7.7.1 . bit 3: soft frequency limit alarm for input clock 1 (soft1). this bit has the same behavior as the soft2 bit but for the ic1 input clock. bit 2: hard frequency limit alarm for input clock 1 (hard1). this bit has the same behavior as the hard2 bit but for the ic1 input clock. bit 1: activity alarm for input clock 1 (act1). this bit has the same behavior as the act2 bit but for the ic1 input clock. bit 0: phase-lock alarm for input clock 1 (lock1). this bit has the same behavior as the lock2 bit but for the ic1 input clock.
____________________________________________________________________________________________ ds 3102 rev: 102808 67 of 141 register name: isr2 register description: input status register 2 register address: 11h bit # 7 6 5 4 3 2 1 0 name soft4 hard4 act4 lock4 soft3 hard3 act3 lock3 default 0 1 1 0 0 1 1 0 bit 7: soft frequency limit alarm for input clock 4 (soft4). this real-time status bit indicates a soft frequency limit alarm for input clock 4. if ic4 is the selected refe rence then soft4 is set to 1 when the frequency of ic4 is greater than or equal to the soft limit set in the srlimit register. if ic4 is not the selected reference then soft4 is set to 1 when the frequency of ic4 is greater than or equal to the soft limit set in the ilimit register. soft alarms are disabled by default but can be enabl ed by setting soften = 1 in the mcr10 register. a soft alarm does not invalidate an input clock. see section 7.5.1 . bit 6: hard frequency limit alarm for input clock 4 (hard4). this real-time status bit indicates a hard frequency limit alarm for input clock 4. if ic4 is the sele cted reference then hard4 is set to 1 when the frequency of ic4 is greater than or equal to the hard limit set in the srlimit register. if ic4 is not the selected reference then hard4 is set to 1 when the frequency of ic4 is greater than or equal to the hard limit set in the ilimit register. hard alarms are enabled by default but can be disabled by setting harden = 0 in the mcr10 register. a hard alarm clears the ic4 status bit in the valsr1 register, invalidating t he ic4 clock. see section 7.5.1 . bit 5: activity alarm for input clock 4 (act4). this real-time status bit is set to 1 when the leaky bucket accumulator for ic4 reaches the alarm threshold specified in the lbxu register (where x in lbxu is specified in the bucket field of icr4 ). an activity alarm clears the ic4 status bit in the valsr1 register, invalidating the ic4 clock. see section 7.5.2 . bit 4: phase-lock alarm for input clock 4 (lock4). this status bit is set to 1 if ic4 is the selected reference and the t0 dpll cannot phase lock to ic 4 within the duration specified in the phlkto register (default = 100 seconds). a phase-lock alarm clears the ic4 status bit in valsr1 , invalidating the ic4 clock. if lkato = 1 in mcr3 then lock4 is automatically cleared after a timeout period of 128 seconds. lock4 is a read/write bit. system software can clear lock4 by writing 0 to it, but writing 1 is ignored. see section 7.7.1 . bit 3: soft frequency limit alarm for input clock 3 (soft3). this bit has the same behavior as the soft4 bit but for the ic3 input clock. bit 2: hard frequency limit alarm for input clock 3 (hard3). this bit has the same behavior as the hard4 bit but for the ic3 input clock. bit 1: activity alarm for input clock 3 (act3). this bit has the same behavior as the act4 bit but for the ic3 input clock. bit 0: phase-lock alarm for input clock 3 (lock3). this bit has the same behavior as the lock4 bit but for the ic3 input clock.
____________________________________________________________________________________________ ds 3102 rev: 102808 68 of 141 register name: isr3 register description: input status register 3 register address: 12h bit # 7 6 5 4 3 2 1 0 name soft6 hard6 act6 lock6 soft5 hard5 act5 lock5 default 0 1 1 0 0 1 1 0 this register has the same behavior as the isr1 and isr2 registers but for input clocks ic5 and ic6. register name: isr4 register description: input status register 4 register address: 13h bit # 7 6 5 4 3 2 1 0 name soft8 hard8 act8 lock8 ? ? ? ? default 0 1 1 0 0 0 0 0 this register has the same behavior as the isr1 and isr2 registers but for input clock ic8. register name: isr5 register description: input status register 5 register address: 14h bit # 7 6 5 4 3 2 1 0 name ? ? ? ? soft9 hard9 act9 lock9 default 0 0 0 0 0 1 1 0 this register has the same behavior as the isr1 and isr2 registers but for input clock ic9.
____________________________________________________________________________________________ ds 3102 rev: 102808 69 of 141 register name: msr4 register description: master status register 4 register address: 17h bit # 7 6 5 4 3 2 1 0 name fhordy shordy mraa ? ? ? ? ? default 0 0 0 0 0 0 0 0 bit 7: fast holdover frequency ready (fhordy). this latched status bit is set to 1 when the t0 dpll has a holdover value that has been averaged over the 8-minute holdover averaging period. fhordy is cleared when written with a 1. when fhordy is set it can cause an interrupt request on the intreq pin if the fhordy interrupt enable bit is set in the ier4 register. see section 7.7.1.6 . bit 6: slow holdover frequency ready (shordy). this latched status bit is set to 1 when the t0 dpll has a holdover value that has been averaged over the 110-minute holdover averagin g period. shordy is cleared when written with a 1. when shordy is set it can cause an interrupt request on the intreq pin if the shordy interrupt enable bit is set in the ier4 register. see section 7.7.1.6 . bit 5: multiregister access aborted (mraa). this latched status bit is set to 1 when a multibyte access (read or write) is interrupted by another access to the device. mraa is cleared when written with a 1. mraa cannot cause an interrupt to occur. see section 8.3 .
____________________________________________________________________________________________ ds 3102 rev: 102808 70 of 141 register name: ipr1 register description: input priority register 1 register address: 18h bit # 7 6 5 4 3 2 1 0 name pri2[3:0] pri1[3:0] default (t0) 0 0 0 1 0 0 0 0 default (t4) 0 0 0 1 0 0 0 0 bits 7 to 4: priority for input clock 2 (pri2[3:0]). priority 0001 is highest; priority 1111 is lowest. when mcr11 :t4t0 = 0, pri2 configures ic2?s priority for the t0 dp ll. when t4t0 = 1, pri2 c onfigures ic2?s priority for the t4 path. see section 7.6.1 . 0000 = ic2 unavailable for selection. 0001?1111= ic2 relative priority bits 3 to 0: priority for input clock 1 (pri1[3:0]). priority 0001 is highest; priority 1111 is lowest. when mcr11 :t4t0 = 0, pri1 configures ic1?s priority for the t0 dp ll. when t4t0 = 1, pri1 c onfigures ic1?s priority for the t4 path. see section 7.6.1 . 0000 = ic1 unavailable for selection. 0001?1111= ic1 relative priority register name: ipr2 register description: input priority register 2 register address: 19h bit # 7 6 5 4 3 2 1 0 name pri4[3:0] pri3[3:0] default (t0) 0 0 1 1 0 0 1 0 default (t4) 0 0 1 1 0 0 1 0 bits 7 to 4: priority for input clock 4 (pri4[3:0]). priority 0001 is highest; priority 1111 is lowest. when mcr11 :t4t0 = 0, pri4 configures ic4?s priority for the t0 dp ll. when t4t0 = 1, pri4 c onfigures ic4?s priority for the t4 path. see section 7.6.1 . 0000 = ic4 unavailable for selection 0001?1111= ic4 relative priority bits 3 to 0: priority for input clock 3 (pri3[3:0]). priority 0001 is highest; priority 1111 is lowest. when mcr11 :t4t0 = 0, pri3 configures ic3?s priority for the t0 dp ll. when t4t0 = 1, pri3 c onfigures ic3?s priority for the t4 path. see section 7.6.1 . 0000 = ic3 unavailable for selection 0001?1111= ic3 relative priority
____________________________________________________________________________________________ ds 3102 rev: 102808 71 of 141 register name: ipr3 register description: input priority register 3 register address: 1ah bit # 7 6 5 4 3 2 1 0 name pri6[3:0] pri5[3:0] default (t0) 0 0 0 0 0 0 0 0 default (t4) 0 0 0 0 0 0 0 0 these registers have the same behavior as ipr2 but for input clocks ic5 and ic6. register name: ipr4 register description: input priority register 4 register address: 1bh bit # 7 6 5 4 3 2 1 0 name pri8[3:0] ? ? ? ? default (t0) 0 1 0 0 0 0 0 0 default (t4) 0 1 0 1 0 0 0 0 these registers have the same behavior as ipr2 but for input clock ic8. register name: ipr5 register description: input priority register 5 register address: 1ch bit # 7 6 5 4 3 2 1 0 name ? ? ? ? pri9[3:0] default (t0) 0 0 0 0 0 1 0 1 default (t4) 0 0 0 0 0 0 0 0 these registers have the same behavior as ipr2 but for input clock ic9.
____________________________________________________________________________________________ ds 3102 rev: 102808 72 of 141 register name: icr1, icr2, icr3, icr4, icr5, icr6, icr8, icr9 register description: input configuration register 1, 2, 3, 4, 5, 6, 8, 9 register address: 20h, 21h, 22h, 23h, 24h, 25h, 27h, 28h bit # 7 6 5 4 3 2 1 0 name divn lock8k bucket[1:0] freq[3:0] default 0 0 0 0 see below note: these registers are identical in function. icrx is the control register for input clock icx. bit 7: divn mode (divn). when divn is set to 1 and lock8k = 0, the input clock is divided down by a programmable predivider. the resulting output clock is then passed to the dpll and frequency monitor. all input clocks for which divn = 1 are divided by the factor specified in divn1 and divn2 . when divn = 1 and lock8k = 0 in an icr register, the freq field of that register must be set to the input frequency divided by the divide factor. when divn = 1 and lock8k = 1 in an icr register, the freq field of that register is decoded as the alternate frequencies. see sections 7.4.2.2 and 7.4.2.4 . 0 = disabled 1 = enabled bit 6: lock8k mode (lock8k). when lock8k is set to 1 and divn = 0, the input clock is divided down by a preset predivider. the resulting output clock, which is always 8khz, is then passed to the dpll. lock8k is ignored when divn = 0 and freq[3:0] = 1001 (2khz) or 1010 (4khz). in addition, lock8k mode cannot be used with 5mhz input clocks. when divn = 1 and lock8k = 1 in an icr register, the freq field of that register is decoded as the alternate frequencies. see sections 7.4.2.2 and 7.4.2.3 0 = disabled 1 = enabled bits 5 to 4: leaky bucket configuration (bucket[1:0]). each input clock has leaky bucket accumulator logic in its activity monitor. the lbxy registers at addresses 50h to 5fh specify four different leaky bucket configurations. any of the four configurations can be s pecified for the input clock. see section 7.5.2 . 00 = leaky bucket configuration 0 01 = leaky bucket configuration 1 10 = leaky bucket configuration 2 11 = leaky bucket configuration 3 bits 3 to 0: input clo ck frequency (freq[3:0]). when divn = 0 and lock8k = 0 (standard direct-lock mode), this field specifies the input clock?s nominal frequency for direct-lock operation. when divn = 0 and lock8k = 1 (lock8k mode) this field specifies the input clock?s no minal frequency for lock8k operation. when divn = 1 and lock8k = 0 (divn mode), this field specifies the frequen cy after the divn divider (i.e., input frequency divided by divn + 1). when divn = 1 and lock8k = 1 (alternate direct-lock frequencies), this field specifies the input clock?s nominal frequency for direct-lock operation. divn = 0 or lock8k = 0: (standard direct -lock mode, lock8k mode, or divn mode) 0000 = 8khz 0001 = 1544khz or 2048khz (as determined by sonsdh bit in the mcr3 register) 0010 = 6.48mhz 0011 = 19.44mhz 0100 = 25.92mhz 0101 = 38.88mhz 0110 = 51.84mhz 0111 = 77.76mhz 1000 = 155.52mhz (only valid for lvds inputs) 1001 = 2khz 1010 = 4khz 1011 = 6312khz 1100 = 5mhz 1101 = 31.25 mhz (not a multiple of 8khz and therefore not valid for lock8k mode) 1110?1111 = undefined
____________________________________________________________________________________________ ds 3102 rev: 102808 73 of 141 divn = 1 and lock8k = 1: (alter nate direct-lock frequency decode) 0000 = 10mhz (internally divided down to 5mhz) 0001 = 25mhz (internally divided down to 5mhz) 0010 = 62.5mhz (internally down to 31.25mhz) 0011 = 125mhz (internally down to 31.25mhz) 0100 = 156.25mhz (differential inputs only; internally divided down to 31.25mhz) 0101?1111 = undefined freq[3:0] default values: icr1?icr4: 0000b icr5?icr9: 0011b register name: valcr1 register description: input clock valid control register 1 register address: 30h bit # 7 6 5 4 3 2 1 0 name ic8 ? ic6 ic5 ic4 ic3 ic2 ic1 default 1 0 1 1 1 1 1 1 bits 7 and 5 to 0: input clock valid control (ic8 and ic[6:1]). these control bits can be used to force input clocks to be considered invalid. if a clock is invalidated by o ne of these control bits it will not appear in the priority table in the ptab1 and ptab2 registers, even if the clock is otherwise valid. these bits are useful when system software needs to force clocks to be invalid in response to oam commands. note that setting a valcr bit low has no effect on the corresponding bit in the valsr registers. see section 7.6.2 . 0 = force invalid 1 = do not force invalid; determine validity normally register name: valcr2 register description: input clock valid control register 2 register address: 31h bit # 7 6 5 4 3 2 1 0 name ? ? ? ? ? ? ? ic9 default 0 0 0 0 0 0 0 1 bit 0: input clock valid control (ic9). this bit has the same behavior as the bits in valcr1 but for the ic9 input clock.
____________________________________________________________________________________________ ds 3102 rev: 102808 74 of 141 register name: mcr1 register description: master configuration register 1 register address: 32h bit # 7 6 5 4 3 2 1 0 name rst ? fren lockpin ? t0state[2:0] default 0 0 1 0 0 0 0 0 bit 7: device reset (rst). when this bit is high the entire device is held in reset, and all register fields, except the rst bit itself, are reset to their default states. when rst is active, the register fields with pin-programmed defaults do not latch their values from the corresponding input pins. instead, these fields are reset to the default values that were latched from the pins when the rst pin was last active. see section 7.11 . 0 = normal operation 1 = reset bit 5: frequency range detect enable (fren). when this bit is high the frequency of each input clock is measured and used to quickly declare the input inactive. 0 = frequency range detect disabled. 1 = frequency range detect enabled. bit 4: t0 dpll lock pin enable (lockpin). when this bit is high the lock pin indicates when the t0 dpll state machine is in the lock state ( opstate .t0state = 100). 0 = lock pin is not driven. 1 = lock pin is driven high when the t0 dpll is in the lock state. bits 2 to 0: t0 dpll state control (t0state[2:0]). this field allows the t0 dpll state machine to be forced to a specified state. the state machine remains in the forced state, and, theref ore, cannot react to alarms and other events, as long as t0state is not equal to 000. see section 7.7.1 . 000 = automatic (normal state machine operation) 001 = free-run 010 = holdover 011 = {unused value} 100 = locked 101 = prelocked 2 110 = prelocked 111 = loss-of-lock
____________________________________________________________________________________________ ds 3102 rev: 102808 75 of 141 register name: mcr2 register description: master configuration register 2 register address: 33h bit # 7 6 5 4 3 2 1 0 name ? ? ? ? t0force[3:0] default 0 0 0 0 1 1 1 1 bits 3 to 0: t0 dpll force selected reference (t0force[3:0]). this field provides a way to force a specified input clock to be the selected reference for the t0 dpll. inte rnally this is accomplished by forcing the clock to have the highest priority (as specified in ptab1 :ref1). in revertive mode ( mcr3 :revert = 1) the forced clock automatically becomes the select ed reference (as specified in ptab1 :selref) as well. in nonrevertive mode the forced clock only becomes the selected reference when t he existing selected reference is invalidated or made unavailable for selection. when a reference is forced, the activity monitor and frequ ency monitor for that input and the t0 dpll?s loss-of-lock timeout logic all continue to operate and affect the relevant valsr and msr register bits. however, when the reference is declared invalid the t0 dpll is not allowed to switch to another input clock. the t0 dpll continues to respond to the fast activity monitor, transitioning to mi ni-holdover in response to short-term events and to full holdover in response to longer events. see section 7.6.3 . 0000 = automatic source selection (normal operation) 0001 = force to ic1 0010 = force to ic2 0011 = force to ic3 0100 = force to ic4 0101 = force to ic5 0110 = force to ic6 0111 = {unused value} 1000 = force to ic8 1001 = force to ic9 1010?1110 = {unused values} 1111 = automatic source selection (normal operation)
____________________________________________________________________________________________ ds 3102 rev: 102808 76 of 141 register name: mcr3 register description: master configuration register 3 register address: 34h bit # 7 6 5 4 3 2 1 0 name aefsen lkato xoedge ma nho efsen sonsdh ? revert default 1 1 0 0 1 see below 1 0 bit 7: auto external frame sync enable (aefsen). this bit has two functions depending on the external frame sync mode. see section 7.9.2.1 . sync1 modes: 0 = sync1 manual mode: external frame sync is manually enabled on the sync1 pin when efsen = 1. 1 = sync1 auto mode: external frame sync is aut omatically enabled on the sync1 pin when efsen = 1 and the t0 dpll is locked to the input clock specified in fscr3 :source. sync123 mode: 0 = efsen is not automatically cleared when the t0 dpll?s selected reference changes. 1 = efsen is automatically cleared when the t0 dpll?s selected reference changes. (efsen must be set again by system software to enable it again.) bit 6: phase-lock alarm timeout (lkato). this bit controls how phase alarms on input clocks can be terminated. phase alarms are indi cated by the lock bits in the isr registers. 0 = phase alarms on input clocks can only be cancelled by software. 1 = phase alarms are automatically cancelled after a timeout period of 128 seconds. bit 5: local oscillator edge (xoedge). this bit specifies the si gnificant clock e dge of the local oscillator clock signal on the refclk input pin. the faster edge sh ould be selected for best jitter performance. see section 7.3 . 0 = rising edge 1 = falling edge bit 4: manual holdover (manho). when this bit is set to 1 the t0 dpll holdover frequency is set by the hofreq field in the hocr1 , hocr2 , and hocr3 registers. when manho = 1, it has priority over any other holdover control fields. see section 7.7.1.6 . 0 = standard holdover: holdover frequency is learne d by the t0 dpll from the selected reference. 1 = manual holdover: holdover frequency is taken from the hofreq field. bit 3: external frame-sync enable (efsen). when this bit is set to 1, the t0 dpll looks for an external frame- sync signal on the syncn pin(s). in sync123 mode if ae fsen = 1, efsen is automatically cleared when the t0 dpll?s selected reference changes. see section 7.9.2.1 . 0 = disable external frame sync; ignore syncn pins. 1 = enable external frame sync on syncn pin(s). bit 2: sonet or sdh frequencies (sonsdh). this bit specifies the clock rate for input clocks with freq = 0001 in the icr registers (20h to 28h). during reset the default value of this bit is latched from the sonsdh pin. see section 7.4.2 . 0 = 2048khz 1 = 1544khz bit 0: revertive mode (revert). this bit configures the t0 dpll for revertive or nonrevertive operation. (the t4 dpll is always revertive). in revertiv e mode, if an input clock with a higher priority than the selected reference becomes valid, the higher priority reference immediately becomes the selected reference. in nonrevertive mode the higher priority reference does not immediately become the selected reference but does become the highest priority reference in the priority table (ref1 field in the ptab1 register). see section 7.6.2 .
____________________________________________________________________________________________ ds 3102 rev: 102808 77 of 141 register name: mcr4 register description: master configuration register 4 register address: 35h bit # 7 6 5 4 3 2 1 0 name lkt4t0 ? ? ? t4force[3:0] default 0 0 0 0 0 0 0 0 bit 7: lock t4 to t0 (lkt4t0). when this bit is set to 1 (and t0cr1 :t4apt0 = 0) all output clocks are generated from the t0 dpll, and the t4cr1 :t4freq field selects the frequency of the t4 apll. see section 7.8.2.2 . when lkt4t0 = 0, the t4 apll can be locked to either t he t4 dpll or the t0 dpll, depending on the setting of t0cr1 :t4apt0. 0 = t4 apll can lock to either t4 or the t0 dpll. 1 = t4 apll always locked to the t0 dpll. bits 3 to 0: t4 dpl force selected reference (t4force[3:0]). this field provides a way to force a specified input clock to be the selected reference for the t4 dpll. inte rnally this is accomplished by forcing the clock to have the highest priority (as specified in ptab1 :ref1). since the t4 dpll always operates in revertive mode, the forced clock automatically becomes t he selected reference (as specified in ptab1 :selref) as well. when a reference is forced, the activity monitor and frequenc y monitor for that input continue to operate and affect the relevant isr , valsr and msr register bits. however, when the reference is declared invalid, the t4 dpll is not allowed to switch to another input clock. see section 7.6.3 . 0000 = automatic source selection (normal operation) 0001 = force to ic1 0010 = force to ic2 0011 = force to ic3 0100 = force to ic4 0101 = force to ic5 0110 = force to ic6 0111 = {unused value} 1000 = force to ic8 1001 = force to ic9 1010?1110 = {unused value} 1111 = automatic source selection (normal operation)
____________________________________________________________________________________________ ds 3102 rev: 102808 78 of 141 register name: mcr5 register description: master configuration register 5 register address: 36h bit # 7 6 5 4 3 2 1 0 name rsv[4:1] ic2sf ic1sf ic6sf ic5sf default 0 0 0 0 0 0 0 0 bits 7 to 4: reserved bits 4 to 1 (rsv[4:1]). these bits are reserved for future use. they can be written to and read back, but they should only be set to 0. bit 3: input clock 2 signal format (ic2sf). for backward compatibility this bit can be written to and read back, but it does not affect the ic2pos/neg inputs pins. see section 7.4.1 . bit 2: input clock 1 signal format (ic1sf). for backward compatibility this bit can be written to and read back, but it does not affect the ic1pos/neg inputs pins. see section 7.4.1 . bit 1: input clock 6 signal format (ic6sf). for backward compatibility this bit can be written to and read back, but it does not affect the ic6pos/neg inputs pins. see section 7.4.1 . bit 0: input clock 5 signal format (ic5sf). for backward compatibility this bit can be written to and read back, but it does not affect the ic5pos/neg inputs pins. see section 7.4.1 .
____________________________________________________________________________________________ ds 3102 rev: 102808 79 of 141 register name: ocr6 register description: output configuration register 6 register address: 37h bit # 7 6 5 4 3 2 1 0 name ? oc5en oc4en oc5ben oc4ben oc3ben oc2ben oc1ben default 0 1 1 0 0 0 0 0 bit 6: oc5 output enable (oc5en). enables the oc5 output pin. 0 = output clock pin disabled, drives low. 1 = output clock pin controlled by ocr3 .ofreq5. bit 5: oc4 output enable (oc4en). enables the oc4 output pin. 0 = output clock pin disabled, drives low. 1 = output clock pin controlled by ocr2 .ofreq4. bit 4: oc5b output enable (oc5ben). enables the oc5b output pin. 0 = output clock pin disabled, drives low. 1 = output clock pin controlled by ocr3 .ofreq5. bit 3: oc4b output enable (oc4ben). enables the oc4b output pin. 0 = output clock pin disabled, drives low. 1 = output clock pin controlled by ocr2 .ofreq4. bit 2: oc3b output enable (oc3ben). selects gpio3 or oc3b function for the oc3b/gpio3 pin. 0 = gpio3 functionality. 1 = output clock pin controlled by ocr2 .ofreq3. bit 1: oc2b output enable (oc2ben). selects gpio2 or oc2b function for the oc2b/gpio2 pin. 0 = gpio2 functionality. 1 = output clock pin controlled by ocr1 .ofreq2. bit 0: oc1b output enable (oc1ben). selects gpio1 or oc1b function for the oc1b/gpio1 pin. 0 = gpio1 functionality. 1 = output clock pin controlled by ocr1 .ofreq1.
____________________________________________________________________________________________ ds 3102 rev: 102808 80 of 141 register name: mcr6 register description: master configuration register 6 register address: 38h bit # 7 6 5 4 3 2 1 0 name dig2af dig2ss dig1ss ? ? ? ? ? default 0 see below see below 1 1 1 1 1 bit 7: digital alternate frequency (dig2af). selects alternative frequencies. 0 = digital2 n x e1 or n x ds1 frequency specified by dig2ss and mcr7 :dig2f. 1 = digital2 6.312mhz, 10mhz, or n x 19.44mhz frequency specified by dig2ss and mcr7 :dig2f. bit 6: digital2 sonet or sdh frequencies (dig2ss). this bit specifies whether the clock rates generated by the digital2 clock synthesizer are multiples of 1.544mh z (sonet compatible), multiples of 2.048mhz (sdh compatible), or alternate frequencies. the specific multiple is set in the dig2f field of the mcr7 register. when rst = 0 the default value of this bit is latched from the sonsdh pin. dig2af = 0: 0 = multiples of 2048khz 1 = multiples of 1544khz dig2af = 1: 6.312mhz, 10mhz, or n x 19.44mhz bit 5: digital1 sonet or sdh frequencies (dig1ss). this bit specifies whether the clock rates generated by the digital1 clock synthesizer are multiples of 1544khz (sonet compatible) or multiples of 2048khz (sdh compatible). the specific multiple is set in the dig1f field of the mcr7 register. when rst = 0 the default value of this bit is latched from the sonsdh pin. 0 = multiples of 2048khz 1 = multiples of 1544khz
____________________________________________________________________________________________ ds 3102 rev: 102808 81 of 141 register name: mcr7 register description: master configuration register 7 register address: 39h bit # 7 6 5 4 3 2 1 0 name dig2f[1:0] dig1f[1: 0] ? ? dig2src dig1src default 0 0 0 0 1 0 0 0 bits 7 and 6: digital2 frequency (dig2f[1:0]). this field, mcr6 :dig2ss, and mcr6 :dig2af configure the frequency of the digital2 clock synthesizer. dig2af = 0 dig2af = 1 dig2ss = 1 dig2ss = 0 dig2ss = 1 dig2ss = 0 00 = 1544khz 00 = 2048khz 00 = 19.44mhz 00 = 6.312mhz 01 = 3088khz 01 = 4096khz 01 = 38.88mhz 01 = undefined 10 = 6176khz 10 = 8192khz 10 = undefined 10 = 10mhz 11 = 12,352khz 11 = 16,384khz 11 = undefined 11 = undefined bits 5 and 4: digital1 frequency (dig1f[1:0]). this field and mcr6 :dig1ss configure the frequency of the digital1 clock synthesizer. dig1ss = 1 dig1ss = 0 00 = 1544khz 00 = 2048khz 01 = 3088khz 01 = 4096khz 10 = 6176khz 10 = 8192khz 11 = 12,352khz 11 = 16,384khz bit 1: digital2 source (dig2src). this bit selects which dpll the digi tal2 dfs is connected to. when mcr4 :lkt4t0 = 1 it is always connected to the t0 dpll. 0 = t0 dpll 1 = t4 dpll bit 0: digital1 source (dig1src). this bit selects which dpll the di gital1 dfs is connected to. when mcr4 :lkt4t0 = 1 it is always connected to the t0 dpll. 0 = t0 dpll 1 = t4 dpll
____________________________________________________________________________________________ ds 3102 rev: 102808 82 of 141 register name: mcr8 register description: master configuration register 8 register address: 3ah bit # 7 6 5 4 3 2 1 0 name oc5sf[1:0] oc4sf[1:0] oc7sf[1:0] oc6sf[1:0] default 1 0 1 0 1 0 1 0 for rev a2 devices, in lvpecl mode the differe ntial output voltage is higher than the max v odpecl spec in table 10-6 unless an adjustment register is written with the proper value. if differential voltages larger than v odpecl,max are unacceptable, the following procedures must be fo llowed when writing the ocxsf fields in this register. if differential voltages larger than v odpecl,max are acceptable, only the ocxsf field must be written. procedure to configure an output for lvpecl mode: 1) set the ocxsf[1:0] field to 01b. 2) write 01h to address 01ffh. 3) write 55h to the adjustment register (see below for address). 4) write 00h to address 01ffh. procedure to configure an output for lvds mode: 1) set the ocxsf[1:0] field to 10b. 2) write 01h to address 01ffh. 3) write 00h to the adjustment register (see below for address). 4) write 00h to address 01ffh. bits 7 and 6: output clock 5 signal format (oc5sf[1:0]). the adjustment register for oc5 is 01d4h. see section 7.8.1 . 00 = output disabled (powered down) 01 = 3v lvpecl level compatible 10 = 3v lvds compatible (default) 11 = 3v lvds compatible bits 5 and 4: output clock 4 signal format (oc4sf[1:0]). the adjustment register for oc4 is 01d0h. see section 7.8.1 . 00 = output disabled (powered down) 01 = 3v lvpecl level compatible 10 = 3v lvds compatible (default) 11 = 3v lvds compatible bits 3 and 2: output clock 7 signal format (oc7sf[1:0]). the adjustment register for oc7 is 01dch. see section 7.8.1 . 00 = output disabled (powered down) 01 = 3v lvpecl level compatible 10 = 3v lvds compatible (default) 11 = 3v lvds compatible bits 1 and 0: output clock 6 signal format (oc6sf[1:0]). the adjustment register for oc6 is 01d8h. see section 7.8.1 . 00 = output disabled (powered down) 01 = 3v lvpecl level compatible 10 = 3v lvds compatible (default) 11 = 3v lvds compatible
____________________________________________________________________________________________ ds 3102 rev: 102808 83 of 141 register name: mcr9 register description: master configuration register 9 register address: 3bh bit # 7 6 5 4 3 2 1 0 name autobw ? ? ? limint ? ? ? default 1 1 1 1 1 0 1 1 bit 7: automatic bandwidth selection (autobw). see section 7.7.3 . 0 = always selects locked bandwidth from the t0lbw register. 1 = automatically selects either locked bandwidth ( t0lbw register) or acquisition bandwidth ( t0abw register) as appropriate. bit 3: limit integral path (limint). when this bit is set to 1, the t0 dpll?s integral path is limited (i.e., frozen) when the dpll reaches minimum or maximum fr equency, as set by the hardlim field in dlimit1 and dlimit2 . when the integral path is frozen, t he current dpll frequency in registers freq1 , freq2 and freq3 is also frozen. setting limint = 1 minimizes overshoot when the dpll is pulling in. see section 7.7.3 . 0 = do not freeze integral path at min/max frequency. 1 = freeze integral path at min/max frequency.
____________________________________________________________________________________________ ds 3102 rev: 102808 84 of 141 register name: mclk1 register description: master clock frequency adjustment register 1 register address: 3ch bit # 7 6 5 4 3 2 1 0 name mclkfreq[7:0] default 1 0 0 1 1 0 0 1 note: the mclk1 and mclk2 registers must be read consec utively and written consecutively. see section 8.3 . bits 7 to 0: master clock freque ncy adjustment (mclkfreq[7:0]). the full 16-bit mclkfreq[15:0] field spans this register and mclk2. mclkfreq is an unsigned integer that adjusts the frequency of the internal 204.8mhz master clock with respect to the frequency of t he local oscillator clock on the refclk pin by up to +514ppm and -771ppm. the master clock adjustment has the effe ct of speeding up the master clock with a positive adjustment and slowing it down with a negative adjustment. for example, if the oscillator connected to refclk has an offset of +1ppm, the adjustment should be -1ppm to correct the offset. the formulas below translate adjustments to register valu es and vice versa. the def ault register value of 39,321 corresponds to 0ppm. see section 7.3 . mclkfreq[15:0] = adjustment_in_ppm / 0.0196229 + 39,321 adjustment_in_ppm = (mclkfreq[15:0] ? 39,321) 0.0196229 register name: mclk2 register description: master clock frequency adjustment register 2 register address: 3dh bit # 7 6 5 4 3 2 1 0 name mlckfreq[15:8] default 1 0 0 1 1 0 0 1 bits 7 to 0: master clock frequency adjustment (mclkfreq[15:8]). see the mclk1 register description.
____________________________________________________________________________________________ ds 3102 rev: 102808 85 of 141 register name: hocr1 register description: holdover configuration register 1 register address: 3eh bit # 7 6 5 4 3 2 1 0 name hofreq[7:0] default 0 0 0 0 0 0 0 0 bits 7 to 0: holdover frequency (hofreq[7:0]). the full 19-bit hofreq[18:0] field spans this register, hocr2 and hocr3 . hofreq is a two?s-complement signed integer, and it expresses the holdover frequency as an offset with respect to the master clock frequency (see section 7.3 ). writing this field sets the t0 dpll?s manual holdover frequency, which is used when manho = 1 in the mcr3 register. when hocr3 :rdavg = 0, reading the hofreq field returns the manual holdover value previously written. when rdavg = 1, reading the hofreq field returns the t0 dpll?s averaged frequency, either the fast average (if hocr3 :fast = 1) or the slow average (if fast = 0). the hofreq field has the same size and format as the freq[18:0] field ( freq1 , freq2 , and freq3 registers) to allow software to read freq, filter the value, and then write to hofreq. holdover frequency offset in ppm is equal to hofreq[18:0] 0.0003068. see section 7.7.1.6 . note: after either hocr3 :rdavg or hocr3 :fast is changed, system software must wait at least 50s before reading the corresponding holdover valu e from the hofreq[18:0] field. register name: hocr2 register description: holdover configuration register 2 register address: 3fh bit # 7 6 5 4 3 2 1 0 name hofreq[15:8] default 0 0 0 0 0 0 0 0 bits 7 to 0: holdover frequency (hofreq[15:8]). see the hocr1 register description.
____________________________________________________________________________________________ ds 3102 rev: 102808 86 of 141 register name: hocr3 register description: holdover configuration register 3 register address: 40h bit # 7 6 5 4 3 2 1 0 name avg fast rdavg miniho[1:0] hofreq[18:16] default 1 0 0 0 1 0 0 0 note: see section 8.3 for important information about writing and reading this register. bit 7: averaging (avg). when this bit is set to 1 the t0 dpll uses the averaged frequency value during holdover mode. when manho = 1 in the mcr3 register, this bit is ignored. see section 7.7.1.6 . 0 = not averaged frequency; holdover frequency is eit her manual (manho = 1) or instantaneously frozen 1 = averaged frequency (averaging rate set by the fast bit below) bit 6: fast averaging (fast). this bit controls the averaging rate used in the t0 dpll?s frequency averager. fast averaging has a -3db response point of approximately 8 minutes. slow averaging has a -3db response point of approximately 110 minutes. see section 7.7.1.6 . 0 = slow frequency averaging 1 = fast frequency averaging bit 5: read average (rdavg). this bit controls which value is accessed when reading the hofreq field: the manual holdover frequency or the t0 dpll?s averaged frequenc y. this allows control software, optionally, to make use of the averager and manual holdover mode in a software-controlled holdover algorithm. see section 7.7.1.6 . 0 = read the manual holdover frequency value previously written 1 = read the averaged frequency bits 4 and 3: mini-holdo ver mode (miniho[1:0]). mini-holdover is the state of t he t0 dpll where it is in the locked state but has temporarily lost its input. in mini- holdover the dpll behaves exactly the same as in holdover but with holdover frequency selected as specified by this field. see section 7.7.1.7 . 00 = frequency determined in the same way as holdover mode 01 = frequency instantaneously frozen (i.e., as if avg = 0) 10 = frequency taken from fast averager (i.e., as if avg = 1 and fast = 1) 11 = frequency taken from slow averager (i.e., as if avg = 1 and fast = 0) bits 2 to 0: holdover frequency (hofreq[18:16]). see the hocr1 register description.
____________________________________________________________________________________________ ds 3102 rev: 102808 87 of 141 register name: dlimit1 register description: dpll frequency limit register 1 register address: 41h bit # 7 6 5 4 3 2 1 0 name hardlim[7:0] default 0 1 1 1 0 1 1 0 note: the dlimit1 and dlimit2 registers must be read cons ecutively and written cons ecutively. see section 8.3 . bits 7 to 0: dpll hard frequency limit (hardlim[7:0]). the full 10-bit hardlim[9:0] field spans this register and dlimit2 . hardlim is an unsigned integer that specifies the ha rd frequency limit or pull-in/hold-in range of the t0 dpll. when frequency limit detection is enabled by setting fllol = 1 in the dlimit3 register, if the dpll frequency exceeds the hard limit the dpll declares lo ss-of-lock. the hard frequency limit in ppm is hardlim[9:0] x 0.0782. the def ault value is normally 9.2ppm. if external reference switching mode is enabled during reset (see section 7.6.5 ), the default value is configured to 79.794ppm (3ffh). see section 7.7.6 . register name: dlimit2 register description: dpll frequency limit register 1 register address: 42h bit # 7 6 5 4 3 2 1 0 name ? ? ? ? ? ? hardlim[9:8] default 0 0 0 0 0 0 0 0 bits 1 to 0: dpll hard frequency limit (hardlim[9:8]). see the dlimit1 register description.
____________________________________________________________________________________________ ds 3102 rev: 102808 88 of 141 register name: ier1 register description: interrupt enable register 1 register address: 43h bit # 7 6 5 4 3 2 1 0 name ic8 ? ic6 ic5 ic4 ic3 ic2 ic1 default 0 0 0 0 0 0 0 0 bits 7 and 5 to 0: interrupt enable for input clock status change (ic8 and ic[6:1]). each of these bits is an interrupt enable control for the corresponding bit in the msr1 register. 0 = mask the interrupt 1 = enable the interrupt register name: ier2 register description: interrupt enable register 2 register address: 44h bit # 7 6 5 4 3 2 1 0 name state srfail ? ? ? ? ? ic9 default 0 0 0 0 0 0 0 0 bit 7: interrupt enable for t0 dpll state change (state). this bit is an interrupt enable for the state bit in the msr2 register. 0 = mask the interrupt 1 = enable the interrupt bit 6: interrupt enable for sel ected reference failed (srfail). this bit is an interrupt enable for the srfail bit in the msr2 register. 0 = mask the interrupt 1 = enable the interrupt bit 0: interrupt enable for input clock status change (ic9). this bit is an interrupt enable control for the ic9 bit in the msr2 register. 0 = mask the interrupt 1 = enable the interrupt
____________________________________________________________________________________________ ds 3102 rev: 102808 89 of 141 register name: ier3 register description: interrupt enable register 3 register address: 45h bit # 7 6 5 4 3 2 1 0 name fsmon t4lock ? t4noin ? ? ? ? default 0 0 0 0 0 0 0 0 bit 7: interrupt enable for frame-sync input monitor alarm (fsmon). this bit is an interrupt enable for the fsmon bit in the msr3 register. 0 = mask the interrupt 1 = enable the interrupt bit 6: interrupt enable for the t4 dpll lock status change (t4lock). this bit is an interrupt enable for the t4lock bit in the msr3 register. 0 = mask the interrupt 1 = enable the interrupt bit 4: interrupt enable for t4 no valid inputs alarm (t4noin). this bit is an interrupt enable for the t4noin bit in the msr3 register. 0 = mask the interrupt 1 = enable the interrupt
____________________________________________________________________________________________ ds 3102 rev: 102808 90 of 141 register name: divn1 register description: divn register 1 register address: 46h bit # 7 6 5 4 3 2 1 0 name divn[7:0] default 1 1 1 1 1 1 1 1 note: the divn1 and divn2 registers must be read consec utively and written consecutively. see section 8.3 . bits 7 to 0: divn factor (divn[7:0]). the full 16-bit divn[15:0] field spans this register and divn2 . this field contains the integer value used to divide the frequency of input clocks that are configured for divn mode. the frequency is divided by divn[15:0] + 1. see section 7.4.2.4 . register name: divn2 register description: divn register 2 register address: 47h bit # 7 6 5 4 3 2 1 0 name divn[15:8] default 0 0 1 1 1 1 1 1 bits 7 to 0: divn factor (divn[15:8]). see the divn1 register description.
____________________________________________________________________________________________ ds 3102 rev: 102808 91 of 141 register name: mcr10 register description: master configuration register 10 register address: 48h bit # 7 6 5 4 3 2 1 0 name fmonclk srfpin ufsw ext sw pbofrz pboen soften harden default 0 0 0 see below 0 1 0 1 bit 7: frequency monitor clock source (fmonclk). this bit specifies the clock source for the input clock frequency monitors. 0 = t0 dpll internal frequency 1 = internal 204.8mhz master clock bit 6: srfail pin enable (srfpin). when this bit is set to 1, the srfail pin is enabled. when enabled the srfail pin follows the state of the srfail status bit in the msr2 register. this gives the system a very fast indication of the failure of the current reference. see section 7.5.3 . 0 = srfail pin disabled (not driven) 1 = srfail pin enabled bit 5: ultra-fast switching mode (ufsw). see section 7.6.4 . 0 = disabled 1 = enabled. the current reference source is disqualified after less than three missing clock cycles. bit 4: external reference switching mode (extsw). this bit enables external reference switching mode. in this mode, if the srcsw pin is high the t0 dpll is forced to lock to input ic3 (i f the priority of ic3 is nonzero) or ic5 (if the priority of ic3 is zero) whether or not the selected input has a valid reference signal. if the srcsw pin is low the device is forced to lock to input ic4 (i f the priority of ic4 is nonzero) or ic6 (if the priority of ic4 is zero) whether or not the selected input has a valid reference signal. during reset the default value of this bit is latched from the srcsw pin. this mode only controls the t0 dp ll. the t4 dpll is not affected. see section 7.6.5 . 0 = normal operation 1 = external switching mode bit 3: phase build-out freeze (pbofrz). this bit freezes the current input -output phase relationship and does not allow further phase build-out events to occur. this bit affects phase build-out in response to reference switching (section 7.7.7.1 ). 0 = not frozen 1 = frozen bit 2: phase build-out enable (pboen). when this bit is set to 1 a phase build-out event occurs every time the t0 dpll changes to a new reference, including exiting the holdover and free-run states. when this bit is set to 0, the t0 dpll locks to the new source with ze ro degrees of phase difference. see section 7.7.7 . bit 1: soft frequency alarm enable (soften). this bit enables input clock frequency monitoring with the soft alarm limits set in the ilimit and srlimit registers. soft alarms are report ed in the soft status bits of the isr registers. see section 7.5.1 . 0 = disabled 1 = enabled bit 0: hard frequency limit enable (harden). this bit enables input clock frequency monitoring with the hard alarm limits set in the ilimit and srlimit registers. hard alarms are reported in the hard status bits of the isr registers. see section 7.5.1 . 0 = disabled 1 = enabled
____________________________________________________________________________________________ ds 3102 rev: 102808 92 of 141 register name: ilimit register description: input clock frequency limit register register address: 49h bit # 7 6 5 4 3 2 1 0 name soft[3:0] hard[3:0] default 0 0 1 0 0 0 1 1 bits 7 to 4: soft frequency alarm limit (soft[3:0]). this field is an unsigned integer that specifies the soft frequency alarm limit for all input clocks except the t0 dpll?s selected reference. the soft limit for the selected reference is specified by srlimit :soft[3:0]. the soft alarm limit is only used for monitoring; soft alarms do not invalidate input clocks. the limit in ppm is (soft[3:0] + 1) 3.81. the default limit is 11.43ppm. soft alarms are reported in the soft status bits of the isr registers. see section 7.5.1 . bits 3 to 0: hard frequency alarm limit (hard[3:0]). this field is an unsigned integer that specifies the hard frequency alarm limit for all input clocks except the t0 dpll ?s selected reference. the hard limit for the selected reference is specified by srlimit :hard[3:0]. hard alarms invalidate input clocks. the limit in ppm is (hard[3:0] + 1) 3.81. the default limit is 15.24ppm. hard alarms are reported in the hard status bits of the isr registers. see section 7.5.1 . register name: srlimit register description: selected reference frequency limit register register address: 4ah bit# 7 6 5 4 3 2 1 0 name soft[3:0] hard[3:0] default 0 0 1 0 0 0 1 1 bits 7 to 4: soft frequency alarm limit (soft[3:0]). this field is an unsigned integer that specifies the soft frequency alarm limit for the t0 dpll?s selected reference. the soft limit for all other input clocks is specified by ilimit :soft[3:0]. the soft alarm limit is only used for moni toring; soft alarms do not invalidate input clocks. the limit in ppm is (soft[3:0] + 1) 3.81. the default limit is 11.43ppm. soft alarms are reported in the soft status bits of the isr registers. see section 7.5.1 . bits 3 to 0: hard frequency alarm limit (hard[3:0]). this field is an unsigned integer that specifies the hard frequency alarm limit for the t0 dpll?s selected reference. t he hard limit for all other input clocks is specified by ilimit :hard[3:0]. hard alarms invalidate input clocks. the limit in ppm is (hard[3:0] + 1) 3.81. the default limit is 15.24ppm. hard alarms are reported in the hard status bits of the 1 isr registers. see section 7.5.1 .
____________________________________________________________________________________________ ds 3102 rev: 102808 93 of 141 register name: mcr11 register description: master configuration register 11 register address: 4bh bit # 7 6 5 4 3 2 1 0 name ? ? ? t4t0 fmeasin[3:0] default 0 0 0 0 0 0 0 0 bit 4: t4 or t0 path select (t4t0). this bit specifies which path is being ac cessed when reads or writes are made to the following registers: ptab1 , ptab2 , freq1 , freq2 , freq3 , ipr1 , ipr2 , ipr3 , ipr4 , ipr5 , phase1 , and phase2 . 0 = t0 path 1 = t4 path bits 3 to 0: frequency measurement input select (fmeasin[3:0]). this field specifies the input clock for the frequency measurement reported in the fmeas register. see section 7.5.1 . 0000 = {unused value, undefined} 0001 = ic1 0010 = ic2 0011 = ic3 0100 = ic4 0101 = ic5 0110 = ic6 0111 = {unused value, undefined} 1000 = ic8 1001 = ic9 1010?1111 = {unused value, undefined} register name: fmeas register description: frequency measurement register register address: 4ch bit # 7 6 5 4 3 2 1 0 name fmeas[7:0] default 0 0 0 0 0 0 0 0 bits 7 to 0: measured frequency (fmeas[7:0]). this read-only field indicates the measured frequency of the input clock specified in the fmeasin field of the mcr11 register. fmeas is a two?s- complement signed integer that expresses the frequency as an offset with respect to the frequency monitor clock (either the internal master clock or the output of the t0 dpll, dependi ng on the setting of the fmonclk bit in the mcr10 register). the measured frequency is fmeas[7:0] 3.81ppm. see section 7.5.1 .
____________________________________________________________________________________________ ds 3102 rev: 102808 94 of 141 register name: dlimit3 register description: dpll frequency limit register 3 register address: 4dh bit # 7 6 5 4 3 2 1 0 name fllol softlim[6:0] default 1 0 0 0 1 1 1 0 bit 7: frequency limit loss-of-lock (fllol). when this bit is set to 1, the t0 dpll and the t4 dpll internally declare loss-of-lock when their hard limits are reach ed. the t0 dpll hard frequency limit is set in the hardlim[9:0] field in the dlimit1 and dlimit2 registers. the t4 dpll hard frequency limit is fixed at 80ppm. see section 7.7.6 . 0 = dpll declares loss-of-lock normally. 1 = dpll also declares loss-of-lock wh en the hard frequency limit is reached. bits 6 to 0: dpll soft frequency limit (softlim[6:0]). this field is an unsigned integer that specifies the soft frequency limit for the t0 dpll and the t4 dpll. the soft limit is only used for monitoring; exceeding this limit does not cause loss-of-lock. the limit in ppm is softlim[6:0] 0.628. the default value is 8.79ppm. when the t0 dpll frequency reaches the soft limit the t0soft status bit is set in the opstate register. when the t4 dpll frequency reaches the soft limit the t4soft status bit is set in opstate . see section 7.7.6 . register name: ier4 register description: interrupt enable register 4 register address: 4eh bit # 7 6 5 4 3 2 1 0 name fhordy shordy ? ? ? ? ? ? default 0 0 0 0 0 0 0 0 bit 7: interrupt enable for fast holdover frequency ready (fhordy). this bit is an interrupt enable for the fhordy bit in the msr4 register. 0 = mask the interrupt 1 = enable the interrupt bit 6: interrupt enable for slow holdover frequency ready (shordy). this bit is an interrupt enable for the shordy bit in the msr4 register. 0 = mask the interrupt 1 = enable the interrupt
____________________________________________________________________________________________ ds 3102 rev: 102808 95 of 141 register name: ocr5 register description: output configuration register 1 register address: 4fh bit # 7 6 5 4 3 2 1 0 name ? aof7 aof6 aof5 aof4 aof3 aof2 aof1 default 0 0 0 0 0 0 0 0 bit 6: alternate output frequency mode select 7 (aof7). this bit controls the decoding of the ocr4 .ofreq7 field for the oc7 pin. 0 = standard decodes 1 = alternate decodes bit 5: alternate output frequency mode select 6 (aof6). this bit controls the decoding of the ocr3 .ofreq6 field for the oc6 pin. 0 = standard decodes 1 = alternate decodes bit 4: alternate output frequency mode select 5 (aof5). this bit controls the decoding of the ocr3 .ofreq5 field for the oc5 pin. 0 = standard decodes 1 = alternate decodes bit 3: alternate output frequency mode select 4 (aof4). this bit controls the decoding of the ocr2 .ofreq4 field for the oc4 pin. 0 = standard decodes 1 = alternate decodes bit 2: alternate output frequency mode select 3 (aof3). this bit controls the decoding of the ocr2 .ofreq3 field for the oc3 pin. 0 = standard decodes 1 = alternate decodes bit 1: alternate output frequency mode select 2 (aof2). this bit controls the decoding of the ocr1 .ofreq2 field for the oc2 pin. 0 = standard decodes 1 = alternate decodes bit 0: alternate output frequency mode select 1 (aof1). this bit controls the decoding of the ocr1 .ofreq1 field for the oc1 pin. 0 = standard decodes 1 = alternate decodes
____________________________________________________________________________________________ ds 3102 rev: 102808 96 of 141 register name: lb0u register description: leaky bucket 0 upper threshold register register address: 50h bit # 7 6 5 4 3 2 1 0 name lb0u[7:0] default 0 0 0 0 0 1 1 0 bits 7 to 0: leaky bucket 0 upper threshold (lb0u[7:0]). when the leaky bucket accumulator is equal to the value stored in this field, the activity monitor declares an activity alarm by setting the input clock?s act bit in the appropriate isr register. registers lb0u , lb0l , lb0s , and lb0d together specify leaky bucket configuration 0. see section 7.5.2 . register name: lb0l register description: leaky bucket 0 lower threshold register register address: 51h bit # 7 6 5 4 3 2 1 0 name lb0l[7:0] default 0 0 0 0 0 1 0 0 bits 7 to 0: leaky bucket 0 lower threshold (lb0l[7:0]). when the leaky bucket accumulator is equal to the value stored in this field, the activity monitoring logic clears the activity alarm (if previously declared) by clearing the input clock?s act bit in the appropriate isr register. registers lb0u , lb0l , lb0s , and lb0d together specify leaky bucket configuration 0. see section 7.5.2 . register name: lb0s register description: leaky bucket 0 size register register address: 52h bit # 7 6 5 4 3 2 1 0 name lb0s[7:0] default 0 0 0 0 1 0 0 0 bits 7 to 0: leaky bucket 0 size (lb0s[7:0]). this field specifies the maximum value of the leaky bucket. the accumulator cannot increment past this value. registers lb0u , lb0l , lb0s , and lb0d together specify leaky bucket configuration 0. see section 7.5.2 . register name: lb0d register description: leaky bucket 0 decay rate register register address: 53h bit # 7 6 5 4 3 2 1 0 name ? ? ? ? ? ? lb0d[1:0] default 0 0 0 0 0 0 0 1 bits 1 and 0: leaky bucket 0 decay rate (lb0d[1:0]). this field specifies the decay or ?leak? rate of the leaky bucket accumulator. for each period of 1, 2, 4, or 8 128ms intervals in which no irregularities are detected on the input clock, the accumulator decrements by 1. registers lb0u , lb0l , lb0s , and lb0d together specify leaky bucket configuration 0. see section 7.5.2 . 00 = decrement every 128ms (8 units/second) 01 = decrement every 256ms (4 units/second) 10 = decrement every 512ms (2 units/second) 11 = decrement every 1024ms (1 unit/second)
____________________________________________________________________________________________ ds 3102 rev: 102808 97 of 141 register name: lb1u, lb2u, lb3u register description: leaky bucket 1/2/3 upper threshold register register address: 54h, 58h, 5ch bit # 7 6 5 4 3 2 1 0 name lbxu[7:0] default 0 0 0 0 0 1 1 0 bits 7 to 0: leaky bucket ?x? upper threshold (lbxu[7:0]). see the lb0u register description. registers lb1u , lb1l , lb1s , and lb1d together specify leaky bu cket configuration 1. registers lb2u , lb2l , lb2s , and lb2d together specify leaky bu cket configuration 2. registers lb3u , lb3l , lb3s , and lb3d together specify leaky bu cket configuration 3. register name: lb1l, lb2l, lb3l register description: leaky bucket 1/2/3 lower threshold register register address: 55h, 59h, 5dh bit # 7 6 5 4 3 2 1 0 name lbxl[7:0] default 0 0 0 0 0 1 0 0 bits 7 to 0: leaky bucket ?x? lower threshold (lbxl[7:0]). see the lb0l register description. registers lb1u , lb1l , lb1s , and lb1d together specify leaky bu cket configuration 1. registers lb2u , lb2l , lb2s , and lb2d together specify leaky bu cket configuration 2. registers lb3u , lb3l , lb3s , and lb3d together specify leaky bu cket configuration 3. register name: lb1s, lb2s, lb3s register description: leaky bucket 1/2/3 size register register address: 56h, 5ah, 5eh bit # 7 6 5 4 3 2 1 0 name lbxs[7:0] default 0 0 0 0 1 0 0 0 bits 7 to 0: leaky bucket ?x? size (lbxs[7:0]). see the lb0s register description. registers lb1u , lb1l , lb1s , and lb1d together specify leaky bu cket configuration 1. registers lb2u , lb2l , lb2s , and lb2d together specify leaky bu cket configuration 2. registers lb3u , lb3l , lb3s , and lb3d together specify leaky bu cket configuration 3. register name: lb1d, lb2d, lb3d register description: leaky bucket 1/2/3 decay rate register register address: 57h, 5bh, 5fh bit # 7 6 5 4 3 2 1 0 name ? ? ? ? ? ? lbxd[1:0] default 0 0 0 0 0 0 0 1 bits 1 to 0: leaky bucket ?x? decay rate (lbxd[1:0]). see the lb0d register description. registers lb1u , lb1l , lb1s , and lb1d together configure leaky bucket algorithm 1. registers lb2u , lb2l , lb2s , and lb2d together configure leaky bucket algorithm 2. registers lb3u , lb3l , lb3s , and lb3d together configure leaky bucket algorithm 3.
____________________________________________________________________________________________ ds 3102 rev: 102808 98 of 141 register name: ocr1 register description: output configuration register 1 register address: 60h bit # 7 6 5 4 3 2 1 0 name ofreq2[3:0] ofreq1[3:0] default 1 0 0 0 0 1 0 1 bits 7 to 4: output frequency of oc2 (ofreq2[3:0]). this field specifies the frequency of output clock oc2. the frequencies of the t0 apll and the t4 apll are configured in the t0cr1 and t4cr1 registers. the digital1 and digital2 frequencies are configured in the mcr7 register. see section 7.8.2.3 . the decode of this field is controlled by the value of the ocr5 .aof2 bit. aof2 = 0: (standard decodes) 0000 = output disabled (i.e., low) 0001 = 2khz 0010 = 8khz 0011 = digital2 (see table 7-9 ) 0100 = digital1 (see table 7-8 ) 0101 = t0 apll frequency divided by 48 0110 = t0 apll frequency divided by 16 0111 = t0 apll frequency divided by 12 1000 = t0 apll frequency divided by 8 1001 = t0 apll frequency divided by 6 1010 = t0 apll frequency divided by 4 1011 = t4 apll frequency divided by 64 1100 = t4 apll frequency divided by 48 1101 = t4 apll frequency divided by 16 1110 = t4 apll frequency divided by 8 1111 = t4 apll frequency divided by 4 aof2 = 1: (alternate decodes) 0000 = output disabled (i.e., low) 0001 = t0 apll frequency divided by 64 0010 = t4 apll frequency divided by 20 0011 = t4 apll frequency divided by 12 0100 = t4 apll frequency divided by 10 0101 = t4 apll frequency divided by 5 0110 = t4 apll frequency divided by 2 0111 = t4 selected reference (after dividing) 1000 = t0 selected reference (after dividing) 1001?1111 = undefined bits 3 to 0: output frequency of oc1 (ofreq1[3:0]). this field specifies the frequency of output clock oc1. the frequencies of the t0 apll and t4 apll are configured in the t0cr1 and t4cr1 registers. the digital1 and digital2 frequencies are configured in the mcr7 register. see section 7.8.2.3 . the decode of this field is controlled by the value of the ocr5 .aof1 bit. aof1 = 0: (standard decodes) 0000 = output disabled (i.e., low) 0001 = 2khz 0010 = 8khz 0011 = digital2 (see table 7-9 ) 0100 = digital1 (see table 7-8 ) 0101 = t0 apll frequency divided by 48 0110 = t0 apll frequency divided by 16 0111 = t0 apll frequency divided by 12 1000 = t0 apll frequency divided by 8 1001 = t0 apll frequency divided by 6
____________________________________________________________________________________________ ds 3102 rev: 102808 99 of 141 1010 = t0 apll frequency divided by 4 1011 = t4 apll frequency divided by 64 1100 = t4 apll frequency divided by 48 1101 = t4 apll frequency divided by 16 1110 = t4 apll frequency divided by 8 1111 = t4 apll frequency divided by 4 aof1 = 1: (alternate decodes) 0000 = output disabled (i.e., low) 0001 = t0 apll frequency divided by 64 0010 = t4 apll frequency divided by 20 0011 = t4 apll frequency divided by 12 0100 = t4 apll frequency divided by 10 0101 = t0 apll2 frequency divided by 10 0110 = t0 apll2 frequency divided by 5 0111 = t4 selected reference (after dividing) 1000 = t0 selected reference (after dividing) 1001?1111 = undefined
____________________________________________________________________________________________ ds 3102 rev: 102808 100 of 141 register name: ocr2 register description: output configuration register 2 register address: 61h bit # 7 6 5 4 3 2 1 0 name ofreq4[3:0] ofreq3[3:0] default 1 0 0 0 0 1 1 0 bits 7 to 4: output frequency of oc4 (ofreq4[3:0]). this field specifies the frequency of output clock oc4. the frequencies of the t0 apll and t4 apll are configured in the t0cr1 and t4cr1 registers. the digital1 and digital2 frequencies are configured in the mcr7 register. see section 7.8.2.3 . the decode of this field is controlled by the value of the ocr5 .aof4 bit. aof4 = 0: (standard decodes) 0000 = output disabled (i.e., low) 0001 = 2khz 0010 = 8khz 0011 = digital2 (see table 7-9 ) 0100 = digital1 (see table 7-8 ) 0101 = t0 apll frequency divided by 48 0110 = t0 apll frequency divided by 16 0111 = t0 apll frequency divided by 12 1000 = t0 apll frequency divided by 8 1001 = t0 apll frequency divided by 6 1010 = t0 apll frequency divided by 4 1011 = t4 apll frequency divided by 2 1100 = t4 apll frequency divided by 48 1101 = t4 apll frequency divided by 16 1110 = t4 apll frequency divided by 8 1111 = t4 apll frequency divided by 4 aof4 = 1: (alternate decodes) 0000 = output disabled (i.e., low) 0001 = t0 apll frequency divided by 2 0010 = t0 apll frequency 0011 = t4 apll frequency divided by 10 0100 = t0 apll2 frequency divided by 10 0101 = t0 apll2 frequency divided by 2 0110 = t0 apll2 frequency 0111 = t4 selected reference (after dividing) 1000 = t0 selected reference (after dividing) 1001?1111 = undefined bits 3 to 0: output frequency of oc3 (ofreq3[3:0]). this field specifies the frequency of output clock oc3. the frequencies of the t0 apll and t4 apll are configured in the t0cr1 and t4cr1 registers. the digital1 and digital2 frequencies are configured in the mcr7 register. see section 7.8.2.3 .the decode of this field is controlled by the value of the ocr5 .aof3 bit. aof3 = 0: (standard decodes) 0000 = output disabled (i.e., low) 0001 = 2khz 0010 = 8khz 0011 = digital2 (see table 7-9 ) 0100 = digital1 (see table 7-8 ) 0101 = t0 apll frequency divided by 48 0110 = t0 apll frequency divided by 16 0111 = t0 apll frequency divided by 12 1000 = t0 apll frequency divided by 8 1001 = t0 apll frequency divided by 6
____________________________________________________________________________________________ ds 3102 rev: 102808 101 of 141 1010 = t0 apll frequency divided by 4 1011 = t4 apll frequency divided by 64 1100 = t4 apll frequency divided by 48 1101 = t4 apll frequency divided by 16 1110 = t4 apll frequency divided by 8 1111 = t4 apll frequency divided by 4 aof3 = 1: (alternate decodes) 0000 = output disabled (i.e., low) 0001 = t0 apll frequency divided by 64 0010 = t4 apll frequency divided by 20 0011 = t4 apll frequency divided by 12 0100 = t4 apll frequency divided by 10 0101 = t4 apll frequency divided by 5 0110 = t4 apll frequency divided by 2 0111 = t4 selected reference (after dividing) 1000 = t0 selected reference (after dividing) 1001?1111 = undefined
____________________________________________________________________________________________ ds 3102 rev: 102808 102 of 141 register name: ocr3 register description: output configuration register 3 register address: 62h bit # 7 6 5 4 3 2 1 0 name ofreq6[3:0] ofreq5[3:0] default 1 0 0 0 0 1 0 0 bits 7 to 4: output frequency of oc6 (ofreq6[3:0]). this field specifies the freq uency of output clock output oc6. the frequencies of the t0 apll and t4 apll are configured in the t0cr1 and t4cr1 registers. the digital1 and digital2 frequencies are configured in the mcr7 register. see section 7.8.2.3 . the decode of this field is controlled by the value of the ocr5 .aof6 bit. aof6 = 0: (standard decodes) 0000 = output disabled (i.e., low) 0001 = 2khz 0010 = 8khz 0011 = t0 apll frequency divided by 2 0100 = digital1 (see table 7-8 ) 0101 = t0 apll frequency 0110 = t0 apll frequency divided by 16 0111 = t0 apll frequency divided by 12 1000 = t0 apll frequency divided by 8 1001 = t0 apll frequency divided by 6 1010 = t0 apll frequency divided by 4 1011 = t4 apll frequency divided by 64 1100 = t4 apll frequency divided by 48 1101 = t4 apll frequency divided by 16 1110 = t4 apll frequency divided by 8 1111 = t4 apll frequency divided by 4 aof6 = 1: (alternate decodes) 0000 = output disabled (i.e., low) 0001 = t4 apll frequency divided by 5 0010 = t4 apll frequency divided by 2 0011 = t4 apll frequency 0100 = t0 apll2 frequency divided by 5 0101 = t0 apll2 frequency divided by 2 0110 = t0 apll2 frequency 0111 = t4 selected reference (after dividing) 1000 = t0 selected reference (after dividing) 1001?1111 = undefined bits 3 to 0: output frequency of oc5 (ofreq5[3:0]). this field specifies the frequency of output clock oc5. the frequencies of the t0 apll and t4 apll are configured in the t0cr1 and t4cr1 registers. the digital1 and digital2 frequencies are configured in the mcr7 register. see section 7.8.2.3 . the decode of this field is controlled by the value of the ocr5 .aof5 bit. aof5 = 0: (standard decodes) 0000 = output disabled (i.e., low) 0001 = 2khz 0010 = 8khz 0011 = digital2 (see table 7-9 ) 0100 = digital1 (see table 7-8 ) 0101 = t0 apll frequency divided by 48 0110 = t0 apll frequency divided by 16 0111 = t0 apll frequency divided by 12 1000 = t0 apll frequency divided by 8 1001 = t0 apll frequency divided by 6
____________________________________________________________________________________________ ds 3102 rev: 102808 103 of 141 1010 = t0 apll frequency divided by 4 1011 = t4 apll frequency divided by 2 1100 = t4 apll frequency divided by 48 1101 = t4 apll frequency divided by 16 1110 = t4 apll frequency divided by 8 1111 = t4 apll frequency divided by 4 aof5 = 1: (alternate decodes) 0000 = output disabled (i.e., low) 0001 = t0 apll frequency divided by 2 0010 = t0 apll frequency 0011 = t4 apll frequency divided by 10 0100 = t0 apll2 frequency divided by 10 0101 = t0 apll2 frequency divided by 2 0110 = t0 apll2 frequency 0111 = t4 selected reference (after dividing) 1000 = t0 selected reference (after dividing) 1001?1111 = undefined
____________________________________________________________________________________________ ds 3102 rev: 102808 104 of 141 register name: ocr4 register description: output configuration register 4 register address: 63h bit # 7 6 5 4 3 2 1 0 name mfsen fsen ? ? ofreq7[3:0] default 1 1 0 0 0 1 1 0 bit 7: mfsync enable (mfsen). this configuration bit enables the 2khz output on the mfsync pin. see section 7.8.2.4 . 0 = disabled, driven low 1 = enabled, output is 2khz bit 6: fsync enable (fsen). this configuration bit enables the 8khz output on the fsync pin. see section 7.8.2.4 . 0 = disabled, driven low 1 = enabled, output is 8khz bits 3 to 0: output frequency of oc7 (ofreq7[3:0]). this field specifies the freq uency of output clock output oc7. the frequencies of the t0 apll and t4 apll are configured in the t0cr1 and t4cr1 registers. the digital1 and digital2 frequencies are configured in the mcr7 register. see section 7.8.2.3 . the decode of this field is controlled by the value of the ocr5 .aof7 bit. aof7 = 0: (standard decodes) 0000 = output disabled (i.e., low) 0001 = 2khz 0010 = 8khz 0011 = digital2 (see table 7-9 ) 0100 = t0 apll frequency divided by 2 0101 = t0 apll frequency divided by 48 0110 = t0 apll frequency divided by 16 0111 = t0 apll frequency divided by 12 1000 = t0 apll frequency divided by 8 1001 = t0 apll frequency divided by 6 1010 = t0 apll frequency divided by 4 1011 = t4 apll frequency divided by 64 1100 = t4 apll frequency divided by 48 1101 = t4 apll frequency divided by 16 1110 = t4 apll frequency divided by 8 1111 = t4 apll frequency divided by 4 aof7 = 1: (alternate decodes) 0000 = output disabled (i.e., low) 0001 = t4 apll frequency divided by 5 0010 = t4 apll frequency divided by 2 0011 = t4 apll frequency 0100 = t0 apll2 frequency divided by 5 0101 = t0 apll2 frequency divided by 2 0110 = t0 apll2 frequency 0111 = t4 selected reference (after dividing) 1000 = t0 selected reference (after dividing) 1001?1111 = undefined
____________________________________________________________________________________________ ds 3102 rev: 102808 105 of 141 register name: t4cr1 register description: t4 dpll configuration register 1 register address: 64h bit # 7 6 5 4 3 2 1 0 name ? ? ? ? t4freq[3:0] default 0 0 0 0 0 1 0 1 bits 3 to 0: t4 apll frequency (t4freq[3:0]). when t0cr1 :t4apt0 = 0, the t4 apll dfs is connected to the t4 dpll, and this field configures the t4 apll dfs frequency. the t4 apll dfs frequency affects the frequency of the t4 apll which in turn affects the ava ilable output frequencies on the output clock pins (see the ocr registers). see section 7.8.2 . t4freq[3:0] t4 apll dfs frequency t4 apll frequency (4 x t4 apll dfs) 0000 apll output disabled disabled, output is low 0001 77.76mhz 311.04mhz (4 x 77.76mhz) 0010 24.576mhz (12 x e1) 98.304mhz (48 x e1) 0011 32.768mhz (16 x e1) 131.072mhz (64 x e1) 0100 37.056mhz (24 x ds1) 148.224mhz (96 x ds1) 0101 24.704mhz (16 x ds1) 98.816mhz (64 x ds1) 0110 68.736mhz (2 x e3) 274.944mhz (8 x e3) 0111 44.736mhz (ds3) 178.944mhz (4 x ds3) 1000 25.248mhz (4 x 6312khz) 100.992mhz (16 x 6312khz) 1001 62.500mhz (gbe 16) 250.000mhz (gbe 4) 1010 30.720mhz (3 x 10.24) 122.880mhz (12 x 10.24) 1011 40.000mhz (4 x 10mhz) 160.000mhz (16 x 10mhz) 1100 26.000mhz (2 x 13mhz) 104.000mhz (8 x 13mhz) 1101?1111 {unused values} {unused values}
____________________________________________________________________________________________ ds 3102 rev: 102808 106 of 141 register name: t0cr1 register description: t0 dpll configuration register 1 register address: 65h bit # 7 6 5 4 3 2 1 0 name t4mt0 t4apt0 t0ft4[2:0] t0freq[2:0] default 0 0 0 0 0 0 0 1 bit 7: t4 measure t0 phase (t4mt0). when this bit is set to 1 the t4 dpll goes to the free-run mode, and the t4 phase detector is configured to measure the phase diffe rence between the selected t0 dpll input clock and the selected the t4 dpll input clock. see section 7.7.10 . 0 = normal operation for the t4 path. 1 = enable t4-measure-t0-phase mode. bit 6: t4 apll source from t0 (t4apt0). when this bit is set to 0, the t4 apll dfs is connected to the t4 dpll, and t4cr1 :t4freq configures the t4 apll dfs frequency. the t4 apll dfs frequency affects the frequency of the t4 apll, which, in turn, affects the avail able output frequencies on the output clock pins (see the ocr registers). when this bit is set to 1, the t4 apll df s is connected to the t0 dpll rather than the t4 dpll, and the frequency of the t4 apll dfs is configured by the t0cr1 :t0ft4[2:0] field below. see section 7.8.2 . 0 = t4 apll locks to t4 dpll. 1 = t4 apll locks to t0 dpll. bits 5 to 3: t0 frequency to t4 apll (t0ft4[2:0]). when the t4apt0 bit is set to 1, this field specifies the frequency of the t4 apll dfs. this frequency c an be different than the frequency specified by t0cr1 :t0freq. see section 7.8.2 . t0ft4 t4 apll dfs frequency t4 apll frequency (4 x t4 apll dfs) 000 = 24.576mhz (12 x e1) 98.304mhz (48 x e1) 001 = 62.500mhz (gbe 16) 250.000mhz (gbe 4) 010 = 32.768mhz (16 x e1) 131.072mhz (64 x e1) 011 = {unused value} {unused value} 100 = 37.056mhz (24 x ds1) 148.224mhz (96 x ds1) 101 = {unused value} {unused value} 110 = 24.704mhz (16 x ds1) 98.816mhz (64 x ds1) 111 = 25.248mhz (4 x 6312khz) 100.992mhz (16 x 6312khz) bits 2 to 0: t0 dpll output frequency (t0freq[2:0]). this field configures the t0 apll dfs frequency. the t0 apll dfs frequency affects the frequency of the t0 apll, which in turn affects the available output frequencies on the output clock pins (see the ocr registers). see section 7.8.2. t0freq t0 apll dfs frequency t0 apll frequency (4 x t0 apll dfs) 000 = 77.76mhz 311.04mhz (4 x 77.76mhz) 001 = 77.76mhz 311.04mhz (4 x 77.76mhz) 010 = 24.576mhz (12 x e1) 98.304mhz (48 x e1) 011 = 32.768mhz (16 x e1) 131.072mhz (64 x e1) 100 = 37.056mhz (24 x ds1) 148.224mhz (96 x ds1) 101 = 24.704mhz (16 x ds1) 98.816mhz (64 x ds1) 110 = 25.248mhz (4 x 6312khz) 100.992mhz (16 x 6312khz) 111 = 62.500mhz (gbe 16) 250.000mhz (gbe 4)
____________________________________________________________________________________________ ds 3102 rev: 102808 107 of 141 register name: t4bw register description: t4 bandwidth register register address: 66h bit # 7 6 5 4 3 2 1 0 name 0 0 0 0 0 0 t4bw[1:0] default 0 0 0 0 0 0 0 0 bits 2 to 0: t4 dpll bandwidth (t4bw[2:0]). see section 7.7.3 . 00 = 18hz 01 = 35hz 10 = 70hz 11 = {unused value, undefined} register name: t0lbw register description: t0 dpll locked bandwidth register register address: 67h bit # 7 6 5 4 3 2 1 0 name ? ? ? t0lbw[4:0] default 0 0 0 0 1 1 0 1 bits 4 to 0: t0 dpll locked bandwidth (t0lbw[4:0]). this field configures the bandwidth of the t0 dpll when locked to an input clock. when autobw = 0 in the mcr9 register, the t0lbw bandwidth is used for acquisition and for locked operation. when autobw = 1, t0abw bandwidth is used for acquisition while t0lbw bandwidth is used for locked operation. see section 7.7.3 . 00000 = 0.5mhz 00001 = 1mhz 00010 = 2mhz 00011 = 4mhz 00100 = 8mhz 00101 = 15mhz 00110 = 30mhz 00111 = 60mhz 01000 = 0.1hz 01001 = 0.3hz 01010 = 0.6hz 01011 = 1.2hz 01100 = 2.5hz 01101 = 4hz (default) 01110 = 8hz 01111 = 18hz 10000 = 35hz 10001 = 70hz 10010 = 120hz 10011 = 250hz 10100 = 400hz 10101?11111 = unused
____________________________________________________________________________________________ ds 3102 rev: 102808 108 of 141 register name: t0abw register description: t0 dpll acquisition bandwidth register register address: 69h bit # 7 6 5 4 3 2 1 0 name ? ? ? t0abw[4:0] default 0 0 0 0 1 1 1 1 bits 4 to 0: t0 dpll acquisition bandwidth (t0abw[4:0]). this field configures the bandwidth of the t0 dpll when acquiring lock. when autobw = 0 in the mcr9 register, the t0lbw bandwidth is used for acquisition and for locked operation. when autobw = 1, t0abw bandwidth is used for acquisition while t0lbw bandwidth is used for locked operation. see section 7.7.3 . 00000 = 0.5mhz 00001 = 1mhz 00010 = 2mhz 00011 = 4mhz 00100 = 8mhz 00101 = 15mhz 00110 = 30mhz 00111 = 60mhz 01000 = 0.1hz 01001 = 0.3hz 01010 = 0.6hz 01011 = 1.2hz 01100 = 2.5hz 01101 = 4hz 01110 = 8hz 01111 = 18hz (default) 10000 = 35hz 10001 = 70hz 10010 = 120hz 10011 = 250hz 10100 = 400hz 10101?11111 = unused
____________________________________________________________________________________________ ds 3102 rev: 102808 109 of 141 register name: t4cr2 register description: t4 configuration register 2 register address: 6ah bit # 7 6 5 4 3 2 1 0 name ? pd2g8k[2:0] ? damp[2:0] default 0 0 0 1 0 0 1 1 bits 6 to 4: phase detector 2 gain 8khz (pd2ga8k[2:0]). this field specifies the gain of the t4 phase detector 2 with an input clock of 8khz or less. this value is only used if automatic gain selection is enabled by setting pd2en = 1 in the t4cr3 register. see section 7.7.5 . bits 2 to 0: damping factor (damp[2:0]). this field configures the damping factor of the t4 dpll. damping factor is a function of both damp[2:0] and the t4 dpll bandwidth ( t4bw register). the default value corresponds to a damping factor of 5. see section 7.7.4 . 18hz 35hz 70hz 001 = 1.2 1.2 1.2 010 = 2.5 2.5 2.5 011 = 5 5 5 100 = 5 10 10 101 = 5 10 20 000, 110, and 111 = {unused values} the gain peak for each damping factor is shown below: damping factor gain peak (db) 1.2 0.4 2.5 0.2 5 0.1 10 0.06 20 0.03
____________________________________________________________________________________________ ds 3102 rev: 102808 110 of 141 register name: t0cr2 register description: t0 configuration register 2 register address: 6bh bit # 7 6 5 4 3 2 1 0 name ? pd2g8k[2:0] ? damp[2:0] default 0 0 0 1 0 0 1 1 bits 6 to 4: phase detector 2 gain, 8khz (pd2g8k[2:0]). this field specifies the gain of the t0 phase detector 2 with an input clock of 8khz or less. this value is only used if automatic gain selection is enabled by setting pd2en = 1 in the t0cr3 register. see section 7.7.5 . bits 2 to 0: damping factor (damp[2:0]). this field configures the damping factor of the t0 dpll. damping factor is a function of both damp [2:0] and the t0 dpll bandwidth ( t0abw and t0lbw ). the default value corresponds to a damping factor of 5. see section 7.7.4 . 4hz 8hz 18hz 35hz 70hz 001 = 5 2.5 1.2 1.2 1.2 010 = 5 5 2.5 2.5 2.5 011 = 5 5 5 5 5 100 = 5 5 5 10 10 101 = 5 5 5 10 20 000, 110, and 111 = {unused values} the gain peak for each damping factor is shown below: damping factor gain peak (db) 1.2 0.4 2.5 0.2 5 0.1 10 0.06 20 0.03
____________________________________________________________________________________________ ds 3102 rev: 102808 111 of 141 register name: t4cr3 register description: t4 configuration register 3 register address: 6ch bit # 7 6 5 4 3 2 1 0 name pd2en ? ? ? ? pd2g[2:0] default 1 1 0 0 0 0 1 0 bit 7: phase detector 2 gain enable (pd2en). when this bit is set to 1, the t4 phase detector 2 is enabled and the gain is determined by the input locking frequency. if the frequency is greater than 8khz, the gain is set by the pd2g field. if the frequency is less or equal to 8khz, the gain is set by the pd2g8k field in the t4cr2 register. see section 7.7.5 . 0 = disable 1 = enable bits 2 to 0: phase detector 2 gain (pd2g[2:0]). this field specifies the gain of the t4 phase detector 2 when the input frequency is greater than 8khz. this value is only us ed if automatic gain selection is enabled by setting pd2en = 1. see section 7.7.5 . register name: t0cr3 register description: t0 configuration register 3 register address: 6dh bit # 7 6 5 4 3 2 1 0 name pd2en ? ? ? ? pd2g[2:0] default 1 1 0 0 0 0 1 0 bit 7: phase detector 2 gain enable (pd2en). when this bit is set to 1, the t0 phase detector 2 is enabled and the gain is determined by the input locking frequency. if the frequency is greater than 8khz, the gain is set by the pd2g field. if the frequency is less or equal to 8khz, the gain is set by the pd2g8k field in the t0cr2 register. see section 7.7.5 . 0 = disable 1 = enable bits 2 to 0: phase detector 2 gain (pd2g[2:0]). this field specifies the gain of the t0 phase detector 2 when the input frequency is greater than 8khz. this value is only us ed if automatic gain selection is enabled by setting pd2en = 1. see section 7.7.5 .
____________________________________________________________________________________________ ds 3102 rev: 102808 112 of 141 register name: gpcr register description: gpio configuration register register address: 6eh bit # 7 6 5 4 3 2 1 0 name gpio4d gpio3d gpio2d gpio1d gpio4o gpio3o gpio2o gpio1o default 0 0 0 0 0 0 0 0 bit 7: gpio4 direction (gpio4d). this bit configures the data direction for the gpio4 pin. when gpio4 is an input, its current state can be read from gpsr :gpio4. when gpio4 is an output, its value is controlled by the gpio4o configuration bit. 0 = input 1 = output bit 6: gpio3 direction (gpio3d). this bit configures the data direction for the gpio3 pin. when gpio3 is an input, its current state can be read from gpsr :gpio3. when gpio3 is an output, its value is controlled by the gpio3o configuration bit. 0 = input 1 = output bit 5: gpio2 direction (gpio2d). this bit configures the data direction for the gpio2 pin. when gpio2 is an input, its current state can be read from gpsr :gpio2. when gpio2 is an output, its value is controlled by the gpio2o configuration bit. 0 = input 1 = output bit 4: gpio1 direction (gpio1d). this bit configures the data direction for the gpio1 pin. when gpio1 is an input, its current state can be read from gpsr :gpio1. when gpi13 is an output, its value is controlled by the gpio1o configuration bit. 0 = input 1 = output bit 3: gpio4 output value (gpio4o). when gpio4 is configured as an output (gpio4d = 1), this bit specifies the output value. 0 = low 1 = high bit 2: gpio3 output value (gpio3o). when gpio3 is configured as an output (gpio3d = 1), this bit specifies the output value. 0 = low 1 = high bit 1: gpio2 output value (gpio2o). when gpio2 is configured as an output (gpio2d = 1), this bit specifies the output value. 0 = low 1 = high bit 0: gpio1 output value (gpio1o). when gpio1 is configured as an output (gpio1d = 1), this bit specifies the output value. 0 = low 1 = high
____________________________________________________________________________________________ ds 3102 rev: 102808 113 of 141 register name: gpsr register description: gpio status register register address: 6fh bit # 7 6 5 4 3 2 1 0 name ? ? ? ? gpio4 gpio3 gpio2 gpio1 default 0 0 0 0 0 0 0 0 bit 3: gpio4 state (gpio4). this bit indicates the current state of the gpio4 pin. 0 = low 1 = high bit 2: gpio3 state (gpio3). this bit indicates the current state of the gpio3 pin. 0 = low 1 = high bit 2: gpio2 state (gpio2). this bit indicates the current state of the gpio2 pin. 0 = low 1 = high bit 1: gpio1 state (gpio1). this bit indicates the current state of the gpio1 pin. 0 = low 1 = high
____________________________________________________________________________________________ ds 3102 rev: 102808 114 of 141 register name: offset1 register description: phase offset register 1 register address: 70h bit # 7 6 5 4 3 2 1 0 name offset[7:0] default 0 0 0 0 0 0 0 0 note: the offset1 and offset2 registers must be read cons ecutively and written cons ecutively. see section 8.3 . bits 7 to 0: phase offset (offset[7:0]). the full 16-bit offset[15:0] field spans this register and the offset2 register. offset is a two?s-complement signed integer th at specifies the desired phase offset between the output clocks and the selected input reference. the phase offset in picoseconds is equal to offset[15:0] actual_internal_clock_period / 2 11 . if the internal clock is at its nominal frequency of 77.76mhz, the phase offset equation simplifies to offset[15:0] 6.279ps. if, however, the dpll is locked to a refe rence whose frequency is +1ppm from ideal, for example, then the actual internal cl ock period is 1ppm shorter and the phase offset is 1ppm smaller. when the offset field is writ ten, the phase of the output clocks is automatically ramped to the new offset value to avoid loss of synchronization. to adjust the phase offset without changing the phase of the output clocks, use the recalibration process enabled by fscr3 :recal. the offset field is ignored when phase build-out is enabled (pboen = 1 in the mcr10 register) and when the dpll is not locked. see section 7.7.8 . register name: offset2 register description: phase offset register 2 register address: 71h bit # 7 6 5 4 3 2 1 0 name offset[15:8] default 0 0 0 0 0 0 0 0 bits 7 to 0: phase offset (offset[15:8]). see the offset1 register description.
____________________________________________________________________________________________ ds 3102 rev: 102808 115 of 141 register name: pboff register description: phase build-out offset register register address: 72h bit # 7 6 5 4 3 2 1 0 name ? ? pboff[5:0] default 0 0 0 0 0 0 0 0 bits 5 to 0: phase build-out offset register (pboff[5:0]). an uncertainty of up to 5ns is introduced each time a phase build-out event occurs. this uncertainty results in a phase hit on the output. over a large number of phase build-out events the mean error should be zero. the pboff field specifies a fixed offset for each phase build-out event to skew the average er ror toward zero. this field is a two?s-complement signed integer. the offset in nanoseconds is pboff[5:0] 0.101. values greater than 1.4ns or less th an -1.4ns can cause internal math errors and should not be used. see section 7.7.7.2 . register name: phlim1 register description: phase limit register 1 register address: 73h bit # 7 6 5 4 3 2 1 0 name flen nalol 1 ? ? finelim[2:0] default 1 0 1 0 0 0 1 0 bit 7: fine phase limit enable (flen). this configuration bit enables the fine phase limit specified in the finelim[2:0] field. the fine limit must be disabled for multi-ui jitter tolerance (see phlim2 fields). this field controls both t0 and t4. see section 7.7.6 . 0 = disabled 1 = enabled bit 6: no activity loss-of-lock (nalol). the t0 and the t4 dplls can detect t hat an input clock has no activity very quickly (within two clock cycles). when nalol = 0, lo ss-of-lock is not declared when clock cycles are missing, and nearest edge locking ( 180 ) is used when the clock recovers. this gives tolerance to missing cycles. when nalol = 1, loss-of-lock is indicated as soon as no activity is detected, and the device switches to phase/frequency locking ( 360 ). this field controls both t0 and t4. see sections 7.5.3 and 7.7.6 . 0 = no activity does not trigger loss-of-lock. 1 = no activity does trigger loss-of-lock. bit 5: leave set to 1 (test control). bits 2 to 0: fine phase limit (finelim[2:0]). this field specifies the fine phase limit window, outside of which loss-of-lock is declared. the flen bit enables this feature. the phase of the input clock has to be inside the fine limit window for two seconds before phase lock is declared. loss-of-lock is declared imm ediately if the phase of the input clock is outside the phase limit window. the default va lue of 010 is appropriate for most situations. this field controls both t0 and t4. see section 7.7.6 . 000 = always indicates loss-of-phase lock?do not use 001 = small phase limit window, 45 to 90 010 = normal phase limit window, 90 to 180 (default) 100, 101, 110, 111 = proportionately larger phase limit window
____________________________________________________________________________________________ ds 3102 rev: 102808 116 of 141 register name: phlim2 register description: phase limit register 2 register address: 74h bit # 7 6 5 4 3 2 1 0 name clen mcpden usemcpd ? coarselim[3:0] default 1 0 0 0 0 1 0 1 bit 7: coarse phase limit enable (clen). this configuration bit enables the co arse phase limit specified in the coarselim[3:0] field. this field controls both t0 and t4. see section 7.7.6 . 0 = disabled 1 = enabled bit 6: multicycle phase detector enable (mcpden). this configuration bit enables the multicycle phase detector and allows the dpll to tolerate large-amplitude jitter and wande r. the range of this phase detector is the same as the coarse phase limit specified in the coarselim[3:0] field. this field controls both t0 and t4. see section 7.7.5 . 0 = disabled 1 = enabled bit 5: use multicycle phase detector in the dpll algorithm (usemcpd). this configuration bit enables the dpll algorithm to use the multicycle phase detector so t hat a large phase measurement dr ives faster dpll pull-in. when usemcpd = 0, phase measurement is limited to 360 , giving slower pull-in at higher frequencies but with less overshoot. when usemcpd = 1, phase measurement is set as specified in the coarselim[3:0] field, giving faster pull-in. mcpden should be set to 1 when usemcpd = 1. this field controls both t0 and t4. see section 7.7.5 . 0 = disabled 1 = enabled bits 3 to 0: coarse phase limit (coarselim[3:0]). this field specifies the coarse phase limit and the tracking range of the multicycle phase detector. the clen bit enables this feature. if jitter tolerance greater than 0.5ui is required and the input clock is a high-frequency signal, the dpll can be configured to track phase errors over many ui using the multicycle phase detector. th is field controls both t0 and t4. see section 7.7.5 and 7.7.6 . 0000 = 1ui 0001 = 3ui 0010 = 7ui 0011 = 15ui 0100 = 31ui 0101 = 63ui 0110 = 127ui 0111 = 255ui 1000 = 511ui 1001 = 1023ui 1010 = 2047ui 1011 = 4095ui 1100?1111 = 8191ui
____________________________________________________________________________________________ ds 3102 rev: 102808 117 of 141 register name: phmon register description: phase monitor register register address: 76h bit # 7 6 5 4 3 2 1 0 name nw ? ? ? ? ? ? ? default 0 0 0 0 0 1 1 0 bit 7: low-frequency input clock noise window (nw). for 2khz, 4khz, or 8khz input clocks, this configuration bit enables a 5% tolerance noise window centered around the ex pected clock edge location. noise-induced edges outside this window are ignored, reducing the possibility of phase hits on the output clocks. this only applies to the t0 dpll and should be enabled only when the t0 dpll is locked to an input and the 180 phase detector is being used. 0 = all edges are recognized by the t0 dpll. 1 = only edges within the 5% tolerance window are recognized by the t0 dpll.
____________________________________________________________________________________________ ds 3102 rev: 102808 118 of 141 register name: phase1 register description: phase register 1 register address: 77h bit # 7 6 5 4 3 2 1 0 name phase[7:0] default 0 0 0 0 0 0 0 0 note: the phase1 and phase2 registers must be read consecutively. see section 8.3 . bits 7 to 0: current dpll phase (phase[7:0]). the full 16-bit phase[15:0] field spans this register and the phase2 register. phase is a two?s-complement signed inte ger that indicates the cu rrent value of the phase detector. the value is the output of the phase averager. when t4t0 = 0 in the mcr11 register, phase indicates the current phase of the t0 dpll. when t4t0 = 1, phase indica tes the current phase of the t4 dpll. the averaged phase difference in degrees is equal to phase 0.707. see section 7.7.10 . register name: phase2 register description: phase register 2 register address: 78h bit # 7 6 5 4 3 2 1 0 name phase[15:8] default 0 0 0 0 0 0 0 0 bits 7 to 0: current dpll phase (phase[15:8]). see the phase1 register description. register name: phlkto register description: phase-lock timeout register register address: 79h bit # 7 6 5 4 3 2 1 0 name phlktom[1:0] phlkto[5:0] default 0 0 1 1 0 0 1 0 bits 7 and 6: phase-lock timeout multiplier (phlktom[1:0]). this field is an unsigned integer that specifies the resolution of the phase-lock timeout field phlkto[5:0]. 00 = 2 seconds 01 = 4 seconds 10 = 8 seconds 11 = 16 seconds bits 5 to 0: phase-lock timeout (phlkto[5:0]). this field is an unsigned integer that, together with the phlktom[1:0] field, specifies the length of time that the t0 dpll attempts to lock to an input clock before declaring a phase-lock alarm (by setting the corresponding lock bit in the isr registers). the timeout period in seconds is phlkto[5:0] 2^(phlktom[1:0] + 1). the state machine re mains in the prelocked, prelocked 2, or phase-lost modes for the specified time before declar ing a phase alarm on the selected input. see section 7.7.1 .
____________________________________________________________________________________________ ds 3102 rev: 102808 119 of 141 register name: fscr1 register description: frame-sync configuration register 1 register address: 7ah bit # 7 6 5 4 3 2 1 0 name 2k8ksrc syncsrc[2:0] 8kinv 8kpul 2kinv 2kpul default 0 0 0 0 0 0 0 0 bit 7: 2khz/8khz source (2k8ksrc). this configuration bit specifies the source for the 2khz and 8khz outputs available on clock outputs. when mcr4 :lkt4t0 = 1 it is always connected to the t0 dpll. see section 7.8.2.3 . 0 = t0 dpll 1 = t4 dpll bits 6 to 4: sync12 source (syncsrc[2:0]). when external frame sync is conf igured for sync123 mode, this field specifies the input clocks to associate with the sync1 and sync2 pins. sync3 is always associated with input clock ic9 in this mode. see section 7.9.2.1 . 0xx = sync1 pin associated with ic3 or ic5, sync2 pi n associated with ic4 or ic6, syc3 pin associated with ic9 or ic2 1x0 = sync1 pin associated with ic3, sync2 pin associated with ic4 1x1 = sync1 pin associated with ic5, sync2 pin associated with ic6 10x = sync3 pin associated with ic9 11x = sync3 pin associated with ic2 bit 3: 8khz invert (8kinv). when this bit is set to 1 the 8khz si gnal on clock output fsync is inverted. see section 7.8.2.4 . 0 = fsync not inverted 1 = fsync inverted bit 2: 8khz pulse (8kpul). when this bit is set to 1, the 8khz sig nal on clock output fsync is pulsed rather than 50% duty cycle. in this mode output clock oc3 must be enabled, and the pulse width of fsync is equal to the clock period of oc3. see section 7.8.2.4 . 0 = fsync not pulsed; 50% duty cycle 1 = fsync pulsed, with pulse width equal to oc3 period bit 1: 2khz invert (2kinv). when this bit is set to 1 the 2khz signal on clock output mfsync is inverted. see section 7.8.2.4 . 0 = mfsync not inverted 1 = mfsync inverted bit 0: 2khz pulse (2kpul). when this bit is set to 1, the 2khz signal on clock output mfsync is pulsed rather than 50% duty cycle. in this mode output clock oc3 must be enabled, and the pulse width of mfsync is equal to the clock period of oc3. see section 7.8.2.4 . 0 = mfsync not pulsed; 50% duty cycle 1 = mfsync pulsed, with pulse width equal to oc3 period
____________________________________________________________________________________________ ds 3102 rev: 102808 120 of 141 register name: fscr2 register description: frame-sync configuration register 2 register address: 7bh bit # 7 6 5 4 3 2 1 0 name indep ocn phase3[1:0 ] phase2[1:0] phase1[1:0] default 0 0 0 0 0 0 0 0 bit 7: independent frame sync and multiframe sync (indep). when this bit is set to 0, the 8khz frame sync on fsync and the 2khz multiframe sync on mfsync are a ligned with the other output clocks when synchronized with the syncn input. when this bit is 1, the frame sync and multiframe sync are independent of the other output clocks, and their edge position may change without disturbing the other output clocks. see section 7.9.2.5 . 0 = fsync and mfsync are aligned with other output clocks; all are synchronized by the syncn input. 1 = fsync and mfsync are independent of the other clock outputs; only fsync and mfsync are synchronized by the syncn input. bit 6: sync oc-n rates (ocn). see section 7.9.2.3 . 0 = syncn is sampled with a 6.48mhz resolution; the selected reference must be 6.48mhz. 1 = if the selected reference is 19.44mhz, syncn is sampled at 19.44mhz and output alignment is sampled at 19.44mhz. if the selected reference is 38.88mhz, syncn is sampled at 38.88mhz. the selected reference must be either 19.44mhz or 38.88mhz. bits 5 and 4: external sync-sampling phase 3 (phase3[1:0]). this field adjusts the sampling of the sync3 input pin. normally the falling edge of sync3 is aligned with the falling edge of the selected reference. all ui numbers listed below are ui of the sampling clock. see section 7.9.2.2 . 00 = coincident 01 = 0.5ui early 10 = 1ui late 11 = 0.5ui late bits 3 and 2: external sync-sampling phase 2 (phase2[1:0]). this field adjusts the sampling of the sync2 input pin. normally the falling edge of sync2 is aligned with the falling edge of the selected reference. all ui numbers listed below are ui of the sampling clock. see section 7.9.2.2 . 00 = coincident 01 = 0.5ui early 10 = 1ui late 11 = 0.5ui late bits 1 and 0: external sync-sampling phase 1 (phase1[1:0]). this field adjusts the sampling of the sync1 input pin. normally the falling edge of sync1 is aligned with the falling edge of the selected reference. all ui numbers listed below are ui of the sampling clock. see section 7.9.2.2 . 00 = coincident 01 = 0.5ui early 10 = 1ui late 11 = 0.5ui late
____________________________________________________________________________________________ ds 3102 rev: 102808 121 of 141 register name: fscr3 register description: frame-sync configuration register 3 register address: 7ch bit # 7 6 5 4 3 2 1 0 name recal monlim[2:0] source[3:0] default 0 0 1 0 1 0 1 1 bit 7: phase offset recalibration (recal). when set to 1, this configuration bit causes a recalibration of the phase offset between the output clocks and the selected refe rence. this process puts the dpll into mini holdover, internally ramps the phase offset to zero, resets all clock dividers, ramps the phase offset to the value stored in the offset registers, and then switches the dpll out of mini holdover. unlike simply writing the offset registers, the recal process causes no change in the phase offset of the output clocks . recal is automatically reset to 0 when recalibration is complete. see section 7.7.8 . 0 = normal operation 1 = phase offset recalibration bits 6 to 4: sync monitor limit (monlim[2:0]). this field configures the sync monitor limit. when the external frame-sync input is misaligned with respect to the mfsy nc output by the specified number of resampling clock cycles, a frame-sync monitor alarm is declared in the fsmon bit of the opstate register. see section 7.9.2.6 . 000 = 1ui 001 = 2ui 010 = 3ui 011 = 4ui 100 = 5ui 101 = 6ui 110 = 7ui 111 = 8ui bits 3 to 0: external frame-sync reference source (source[3:0]). when external frame sync is configured for sync1 automatic mode, this field specifies the input clock to associate with the sync1 pin. see section 7.9.2.1 . 0000 = ic1 0010 = ic2 0011 = ic3 0100 = ic4 0101 = ic5 0110 = ic6 0111 = {unused value, undefined} 1000 = ic8 1001 = ic9 1010?1011 = {unused values, undefined} 11xx = sync123 mode
____________________________________________________________________________________________ ds 3102 rev: 102808 122 of 141 register name: intcr register description: interrupt configuration register register address: 7dh bit # 7 6 5 4 3 2 1 0 name ? ? ? ? los gpo od pol default 0 0 0 0 0 0 1 0 bit 3: intreq pin mode (los). when gpo = 0, this bit selects the function of the intreq pin. 0 = the intreq/los pin indicates interrupt requests. 1 = the intreq/los pin indicates the real-time stat e of the selected reference activity monitor (see section 7.5.3 ). this function is most useful when external switching mode (section 7.6.5 ) is enabled ( mcr10 :extsw = 1). bit 2: intreq pin general-pu rpose output enable (gpo). when set to 1, this bit configures the interrupt request pin to be a general-purpose output whose value is set by the pol bit. 0 = intreq is function determined by the los bit. 1 = intreq is a general-purpose output. bit 1: intreq pin open-drain enable (od) when gpo = 0: 0 = intreq is driven in both inactive and active states. 1 = intreq is driven high or low in the active state but is high impedance in the inactive state. when gpo = 1: 0 = intreq is driven as specified by pol. 1 = intreq is high impedance and pol has no effect. bit 0: intreq pin polarity (pol) when gpo = 0: 0 = intreq goes low to signal an interrupt request or los = 1 (active low). 1 = intreq goes high to signal interrupt request or los = 1 (active high). when gpo = 1: 0 = intreq driven low. 1 = intreq driven high. register name: prot register description: protection register register address: 7eh bit # 7 6 5 4 3 2 1 0 name prot[7:0] default 1 0 0 0 0 1 0 1 bits 7 to 0: protection control (prot[7:0]). this field can be used to protect the rest of the register set from inadvertent writes. in protected mode writes to all other registers are ignored. in single unprotected mode, one register (other than prot) can be written, but after that write the device reverts to protected mode (and the value of prot is internally changed to 00h). in fully unprotecte d mode all register can be written without limitation. see section 7.2 . 1000 0101 = fully unprotected mode 1000 0110 = single unprotected mode all other values = protected mode
____________________________________________________________________________________________ ds 3102 rev: 102808 123 of 141 9. jtag test access port and boundary scan 9.1 jtag description the ds3102 supports the standard instruction codes sample/prel oad, bypass, and extest. optional public instructions included are highz, clamp, and idcode. figure 9-1 shows a block diagram. the ds3102 contains the following items, which meet the requirements set by the ieee 1149.1 standard test access port and boundary scan architecture: test access port (tap) bypass register tap controller boundary scan register instruction register device identification register the tap has the necessary interface pins, namely jtclk, jtrst , jtdi, jtdo, and jtms. details on these pins can be found in table 6-5. details about the bo undary scan architecture and the tap can be found in ieee 1149.1- 1990, ieee 1149.1a-1993, and ieee 1149.1b-1994. figure 9-1. jtag block diagram boundary scan register device identification register bypass register instruction register test access port controller mux select three-state jtdi 10k jtms 10k jtclk j trs t 10k jtdo
____________________________________________________________________________________________ ds 3102 rev: 102808 124 of 141 9.2 jtag tap controller state machine description this section discusses the operation of the tap controlle r state machine. the tap controller is a finite state machine that responds to the logic level at jtms on the rising edge of jtclk. each of the states denoted in figure 9-2 is described in the following paragraphs. test-logic-reset. upon device power-up, the tap controller starts in the test-logic-reset state. the instruction register contains the idcode in struction. all system logic on the device operates normally. run-test-idle. run-test-idle is used between scan operations or dur ing specific tests. the instruction register and all test registers remain idle. select-dr-scan. all test registers retain their pr evious state. with jtms low, a rising edge of jtclk moves the controller into the capture-dr state and initiates a scan sequence. jtms high moves the controller to the select- ir-scan state. capture-dr. data can be parallel-loaded into the test register se lected by the current instru ction. if the instruction does not call for a parallel load or the selected test register does not allow parallel loads, the register remains at its current value. on the rising edge of jtclk, the controller goe s to the shift-dr state if jtms is low or to the exit1- dr state if jtms is high. shift-dr. the test register selected by the current instru ction is connected between jtdi and jtdo and data is shifted one stage toward the serial output on each rising edge of jtclk. if a test register selected by the current instruction is not placed in the serial path, it maintains it s previous state. exit1-dr. while in this state, a rising edge on jtclk with jtms high puts the controller in the update-dr state, which terminates the scanning process. a rising edge on jtclk with jtms low puts the controller in the pause-dr state. pause-dr. shifting of the test registers is halted while in this state. all test register s selected by the current instruction retain their previous state. the controller re mains in this state while jtms is low. a rising edge on jtclk with jtms high puts the cont roller in the exit2-dr state. exit2-dr. while in this state, a rising edge on jtclk with jtms high puts the controller in the update-dr state and terminates the scanning process. a rising edge on jtclk with jtms low puts the controller in the shift-dr state. update-dr. a falling edge on jtclk while in the update-dr state latches the data from the shift register path of the test registers into the data output latches. this pr events changes at the parallel output because of changes in the shift register. a rising edge on jtclk with jtms low put s the controller in the run-test-idle state. with jtms high, the controller enters t he select-dr-scan state. select-ir-scan. all test registers retain their pr evious state. the instruction regi ster remains unchanged during this state. with jtms low, a rising edge on jtclk moves the c ontroller into the capture-ir state and initiates a scan sequence for the instruction register. jtms high duri ng a rising edge on jtclk puts the controller back into the test-logic-reset state. capture-ir. the capture-ir state is used to load the shift register in the instruction register with a fixed value. this value is loaded on the rising edge of jtclk. if jtms is high on the rising edge of jt clk, the controller enters the exit1-ir state. if jtms is low on the rising edge of jtclk, the controller enters the shift-ir state. shift-ir. in this state, the instruction register?s shift regist er is connected between jtdi and jtdo and shifts data one stage for every rising edge of jtclk toward the serial output. the parallel register and the test registers remain at their previous states. a rising edge on jtclk wi th jtms high moves the controller to the exit1-ir state. a rising edge on jtclk with jtms low keeps the controlle r in the shift-ir state, while moving data one stage through the instruction shift register.
____________________________________________________________________________________________ ds 3102 rev: 102808 125 of 141 exit1-ir. a rising edge on jtclk with jtms low puts the controll er in the pause-ir state. if jtms is high on the rising edge of jtclk, the controller enters the u pdate-ir state and terminates the scanning process. pause-ir. shifting of the instruction register is halted tempor arily. with jtms high, a rising edge on jtclk puts the controller in the exit2-ir state. t he controller remains in the pause-ir st ate if jtms is low during a rising edge on jtclk. exit2-ir. a rising edge on jtclk with jtms high puts the cont roller in the update-ir st ate. the controller loops back to the shift-ir state if jtms is low during a rising edge of jtclk in this state. update-ir. the instruction shifted into the instruction shift regi ster is latched into the parallel output on the falling edge of jtclk as the controller enters this state. once latched, this instructio n becomes the current instruction. a rising edge on jtclk with jtms low puts the controller in the run-test-idle state. wi th jtms high, the controller enters the select-dr-scan state. figure 9-2. jtag tap controller state machine test-logic-reset run-test/idle select dr-scan 1 0 capture-dr 1 0 shift-dr 0 1 exit1- dr 1 0 pause-dr 1 exit2-dr 1 update-dr 0 0 1 select ir-scan 1 0 capture-ir 0 shift-ir 0 1 exit1-ir 1 0 pause-ir 1 exit2-ir 1 update-ir 0 0 1 0 0 1 0 1 0 1
____________________________________________________________________________________________ ds 3102 rev: 102808 126 of 141 9.3 jtag instruction register and instructions the instruction register contains a shift register as well as a latched parallel output and is 3 bits in length. when the tap controller enters the shift-ir state, the instruction sh ift register is connected between jtdi and jtdo. while in the shift-ir state, a rising edge on jtclk with jtms low shifts data one stage toward t he serial output at jtdo. a rising edge on jtclk in the exit1-ir state or the exit2-ir state with jtms high move s the controller to the update- ir state. the falling edge of that same jtclk latches the dat a in the instruction shift register to the instruction parallel output. table 9-1 shows the instructions suppor ted by the ds3102 and their respective operational binary codes. table 9-1. jtag instruction codes instructions selected register instruction codes sample/preload boundary scan 010 bypass bypass 111 extest boundary scan 000 clamp bypass 011 highz bypass 100 idcode device identification 001 sample/preload. sample/reload is a mandatory instruction for the ieee 1149.1 sp ecification. this instruction supports two functions. first, the digital i/o s of the device can be sampled at the boundary scan register, using the capture-dr state, without interfering with the device?s nor mal operation. second, data can be shifted into the boundary scan register th rough jtdi using the shift-dr state. extest. extest allows testing of the interconnections to t he device. when the extest instruction is latched in the instruction register, the following actions occur: (1) once the extest instruction is enabled through the update-ir state, the parallel outputs of the digital output pins are driven. (2) the boundary scan register is connected between jtdi and jtdo. (3) the capture-dr state samples all digital inputs into the boundary scan register. bypass. when the bypass instruction is latched into the parallel instruction register, jtdi is connected to jtdo through the 1-bit bypass register. this allows data to pass from jtdi to jtdo without affecting the device?s normal operation. idcode. when the idcode instruction is latched into the para llel instruction register, the device identification register is selected. the device id code is loaded into t he device identification register on the rising edge of jtclk, following entry into the capture-dr state. shift-dr can be used to shift the id code out serially through jtdo. during test-logic-reset, the id code is forced in to the instruction register?s parallel output. highz. all digital outputs are placed into a high-impedance st ate. the bypass register is connected between jtdi and jtdo. clamp. all digital output pins output data from the bounda ry scan parallel output while connecting the bypass register between jtdi and jtdo. the outputs do not change during the clamp instruction.
____________________________________________________________________________________________ ds 3102 rev: 102808 127 of 141 9.4 jtag test registers ieee 1149.1 requires a minimum of two test registers?t he bypass register and the boundary scan register. an optional test register, the identificati on register, has been included in the device design. it is used with the idcode instruction and the test-logic-res et state of the tap controller. bypass register. this is a single 1-bit shift register used wi th the bypass, clamp, and hi ghz instructions to provide a short path between jtdi and jtdo. boundary scan register. this register contains a shift register path and a latched parallel output for control cells and digital i/o cells. bsdl files are available at www.maxim-ic.com/techsupport/telecom/bsdl.htm . identification register. this register contains a 32-bit shift regist er and a 32-bit latched parallel output. it is selected during the idcode instruction and when the tap c ontroller is in the test-logic-reset state. the device identification code for the ds3102 is shown in table 9-2. table 9-2. jtag id code device revision device code manufacturer code required ds3102 consult factory 0000000010100000 00010100001 1
____________________________________________________________________________________________ ds 3102 rev: 102808 128 of 141 10. electrical characteristics absolute maximum ratings voltage range on any pin with respect to v ss (except v dd )??.???????????????..-0.3v to +5.5v supply voltage range (v dd ) with respect to v ss ??.????.???????????????..-0.3v to +1.98v supply voltage range (v ddio ) with respect to v ss ?????.????????????????.-0.3v to +3.63v ambient operating temperature range ??????????????????????..-40c to +85c ( note 1 ) junction operating temperature range?????????????????????????..-40c to +125c storage temperature range??????????????????????????????..-55c to +125c soldering temperature??????????????????????s ee ipc/jedec j-std-020 specification note 1: specifications to -40 c are guaranteed by design and not production tested. stresses beyond those listed under ?absolute maximum ratings? may c ause permanent damage to the device. these are stress rating s only, and functional operation of the device at these or any other conditions beyond those i ndicated in the operational sections of t he specifications is not implied. exposure to the absolute maxi mum rating conditions for ext ended periods may affect device. ambient operating tempe rature range when device is mounted on a four-layer jedec test board with no airflow. note: the typical values listed in the tables of section 10 are not production tested. 10.1 dc characteristics table 10-1. recommended dc operating conditions parameter symbol conditions min typ max units supply voltage, core v dd 1.62 1.8 1.98 v supply voltage, i/o v ddio 3.135 3.3 3.465 v ambient temperature range t a -40 +85 c junction temperature range t j -40 +125 c table 10-2. dc characteristics (v dd = 1.8v 10%; v ddio = 3.3v 5%, t a = -40c to +85c) parameter symbol conditions min typ max units supply current, core i dd (notes 2, 3) 153 192 ma supply current, i/o i ddio (notes 2, 3) 41 52 ma supply current from vdd_oc45 when outputs oc4 and oc5 enabled i ddoc45 (note 4) 16 ma supply current from vdd_oc67 when outputs oc6 and oc7 enabled i ddoc67 (note 4) 16 ma input capacitance c in 5 pf output capacitance c out 7 pf note 2: 12.800mhz clock applied to refclk and 19.44mhz clock applied to one cmos/ttl input clock pin. one 19.44mhz cmos/ttl output clock pin driving 100pf load; all other inputs at v ddio or grounded; all other outputs disabled and open. note 3: typ current measured at v dd = 1.8v and v ddio = 3.3v, max current measured at v dd = 1.98v and v ddio = 3.465v. note 4: 19.44mhz output clock frequency, driving the load shown in figure 10-1 . enabled means mcr8 :ocxsf 00.
____________________________________________________________________________________________ ds 3102 rev: 102808 129 of 141 table 10-3. cmos/ttl pins (v dd = 1.8v 10%; v ddio = 3.3v 5%, t a = -40c to +85c) parameter symbol conditions min typ max units input high voltage v ih 2.0 5.5 v input low voltage v il -0.3 +0.8 v input leakage i il (note 1) -10 +10 a input leakage, pins with internal pullup resistor (50k typ) i ilpu (note 1) -100 +10 a input leakage, pins with internal pulldown resistor (50k typ) i ilpd (note 1) -10 +100 a output leakage (when high-z) i lo (note 1) -10 +10 a 2.4 v ddio v output high voltage (i o = -4.0ma) v oh (note 2) 2.0 v ddiob v output low voltage (i o = +4.0ma) v ol 0 0.4 v note 1: 0v < v in < v ddio for all other digital inputs. note 2: for oc1b to oc5b when v ddiob = 2.5v. table 10-4. lvds/lvpecl input pins (v dd = 1.8v 10%; v ddio = 3.3v 5%, t a = -40c to +85c) parameter symbol conditions min typ max units input voltage tolerance v tol (note 1) 0 v ddio v input voltage range v in v id = 100mv 0 2.4 v input differential voltage v id 0.1 1.4 v input differential logic threshold v idth -100 +100 mv note 1: the device can tolerate this range of voltages w.r.t. v ss on its icxpos and icxneg pins without being damaged. proper operation of the differential input circuitry is only guarant eed when the other specifications in this table are met. table 10-5. lvds output pins (v dd = 1.8v 10%; v ddio = 3.3v 5%, t a = -40c to +85c) parameter symbol conditions min typ max units output high voltage v ohlvds (note 1) 1.6 v output low voltage v ollvds (note 1) 0.9 v differential output voltage v odlvds 247 350 454 mv output offset (common mode) voltage v oslvds +25 c (note 1) 1.125 1.25 1.375 v difference in magnitude of output differential voltage for complementary states v doslvds 25 mv note 1: with 100 load across the differential outputs. note 2: the differential outputs can easily be interfaced to lvds, l vpecl, and cml inputs on neighboring ics using a few external passive components. see maxim app note hfan-1.0 for details.
____________________________________________________________________________________________ ds 3102 rev: 102808 130 of 141 table 10-6. lvpecl level-c ompatible output pins (v dd = 1.8v 10%; v ddio = 3.3v 5%, t a = -40c to +85c) parameter symbol conditions min typ max units differential output voltage v odpecl 595 700 930 mv output offset (common mode) voltage v ospecl +25 c (note 1) 0.8 v difference in magnitude of output differential voltage for complementary states v dospecl 50 mv note 1: with 100 load across the differential outputs. note 2: the differential outputs can easily be interfaced to lvds, l vpecl, and cml inputs on neighboring ics using a few external passive components. see maxim app note hfan-1.0 for details. figure 10-1. recommended term ination for lvds pins ds3102 lvds i/o icnpos icnneg 100 lvds driver lvds receiver figure 10-2. recommended term ination for lvpecl signals on lvds input pins ds3102 lvds inputs icnpos icnneg 130
____________________________________________________________________________________________ ds 3102 rev: 102808 131 of 141 figure 10-3. recommended term ination for lvpecl-compatible output pins ds3102 lvpecl level- outputs ocnpos ocnneg 50 50 82 0.01 f 130 130 gnd 3.3v lvpecl receiver 82 compatible
____________________________________________________________________________________________ ds 3102 rev: 102808 132 of 141 10.2 input clock timing table 10-7. input clock timing (v dd = 1.8v 10%; v ddio = 3.3v 5%, t a = -40c to +85c.) parameter symbol min typ max cmos/ttl input pins 8ns (125mhz) 500 s (2khz) input clock period lvds/lvpecl input pins t cyc 6.4ns (156.25mhz) 500 s (2khz) input clock high, low time t h , t l 3ns or 30% of t cyc , whichever is smaller 10.3 output clock timing table 10-8. input clock to output clock delay input frequency output frequency input clock edge to output clock edge delay (ns) 8khz 8khz 0 1.5 6.48mhz 6.48mhz 0 1.5 19.44mhz 19.44mhz 0 1.5 25.92mhz 25.92mhz 0 1.5 38.88mhz 38.88mhz 0 1.5 51.84mhz 51.84mhz 0 1.5 77.76mhz 77.76mhz 0 1.5 155.52mhz 155.52mhz 0 1.5 table 10-9. output clock phase ali gnment, frame-sync alignment mode output frequency mfsync falling edge to output clock falling edge delay (ns) 8khz (fsync) 0 0.5 2khz 0 0.5 8khz 0 0.5 1.544mhz 0 1.25 2.048mhz 0 1.25 44.736mhz -2.0 1.25 34.368mhz -2.0 1.25 6.48mhz -2.0 1.25 19.44mhz -2.0 1.25 25.92mhz -2.0 1.25 38.88mhz -2.0 1.25 51.84mhz -2.0 1.25 77.76mhz -2.0 1.25 155.52mhz -2.0 1.25 311.04mhz -2.0 1.25 see section 7.9.2 for details on frame-sync alignment and the sync[1:3] pins.
____________________________________________________________________________________________ ds 3102 rev: 102808 133 of 141 10.4 spi interface timing table 10-10. spi interface timing (v dd = 1.8v 10%; v ddio = 3.3v 5%, t a = -40c to +85c.) (see figure 10-4 .) parameter ( note 1 ) symbol min typ max units sclk frequency f bus 6 mhz sclk cycle time t cyc 100 ns cs setup to first sclk edge t suc 15 ns cs hold time after last sclk edge t hdc 15 ns sclk high time t clkh 50 ns sclk low time t clkl 50 ns sdi data setup time t sui 5 ns sdi data hold time t hdi 15 ns sdo enable time (high-z to output active) t en 0 ns sdo disable time (output active to high-z) t dis 25 ns sdo data valid time t dv 50 ns sdo data hold time after update sclk edge t hdo 5 ns note 1: all timing is specified with 100pf load on all spi pins.
____________________________________________________________________________________________ ds 3102 rev: 102808 134 of 141 figure 10-4. spi interface timing diagram cs sclk, cpol=0 sclk, cpol=1 t sui t hdi sdi t cyc t suc t clkh t clkl t clkl t clkh t hdc sdo t en t dv t hdo t dis cpha = 0 cpha = 1 cs sclk, cpol=0 sclk, cpol=1 t cyc t suc t clkh t clkl t clkl t hdc t sui t hdi sdi sdo t en t dv t hdo t dis t clkh
____________________________________________________________________________________________ ds 3102 rev: 102808 135 of 141 10.5 jtag interface timing table 10-11. jtag interface timing (v dd = 1.8v 10%; v ddio = 3.3v 5%, t a = -40c to +85c.) (see figure 10-5 .) parameter symbol min typ max units jtclk clock period t1 1000 ns jtclk clock high/low time (note 1) t2/t3 50 500 ns jtclk to jtdi, jtms setup time t4 50 ns jtclk to jtdi, jtms hold time t5 50 ns jtclk to jtdo delay t6 2 50 ns jtclk to jtdo high-z delay (note 2) t7 2 50 ns jtrst width low time t8 100 ns note 1: clock can be stopped high or low. note 2: not tested during production test. figure 10-5. jtag timing diagram t1 jtdo t4 t5 t2 t3 t7 jtdi, jtms, j trs t t6 j trs t t8 jtcl k
____________________________________________________________________________________________ ds 3102 rev: 102808 136 of 141 10.6 reset pin timing table 10-12. reset pin timing (v dd = 1.8v 10%; v ddio = 3.3v 5%, t a = -40c to +85c.) (see figure 10-6 .) parameter symbol min typ max units rst low time (note 1) t1 1000 ns sonsdh, srcsw setup time to rst t2 0 ns sonsdh, srcsw hold time from rst t3 50 ns note 1: rst should be held low while the refclk oscillator stabilizes , which can be 250ms or more for a ocxo after power is applied. it is recommended to force rst low during power-up. the 1000ns minimum time applies if the rst pulse is applied any time after the device has powered up and the oscillator has stabilized. figure 10-6. reset pin timing diagram r st sonsdh srcsw valid x x t2 t3 t1
____________________________________________________________________________________________ ds 3102 rev: 102808 137 of 141 11. pin assignments table 11-1 lists pin assignments sorted in alphabetical order by pin name. figure 11-1 shows pin assignments arranged by pin number. table 11-1. pin assignments sorted by signal name pin name pin number pin name pin number avdd_pll1 b2 oc3 b7 avdd_pll2 c2 oc3b/gpio3 b5 avdd_pll3 f2 oc4 a3 avdd_pll4 f3 oc4b a6 avss_pll1 a1 oc4neg d1 avss_pll2 c3 oc4pos d2 avss_pll3 f1 oc5 a4 avss_pll4 g2 oc5b b6 cpha e7 oc5neg e1 cpol d7 oc5pos e2 cs d9 oc6neg j2 fsync h1 oc6pos h2 ic1neg j5 oc7neg j3 ic1pos h5 oc7pos h3 ic2neg j7 refclk c1 ic2pos h7 rst b9 ic3 j8 sclk c9 ic4 j9 sdi e8 ic5neg j4 sdo c7 ic5pos h4 sonsdh/gpio4 b3 ic6neg j6 srcsw g1 ic6pos h6 srfail f7 ic8 f9 sync1 h8 ic9 g9 sync2 h9 intreq/los b1 sync3 g8 jtclk a9 test a2 jtdi a8 v dd c5, e6, g6 jtdo c8 vdd_oc45 e3 jtms e9 vdd_oc67 g5 jtrst f8 v ddio c4, d6, f6, g3 lock g7 v ddiob c6 mfsync j1 v ss d4, d5, e4, e5, f4, f5 oc1 b8 vss_oc45 d3 oc1b/gpio1 b4 vss_oc67 g4 oc2 a7 wdt d8 oc2b/gpio2 a5
____________________________________________________________________________________________ ds 3102 rev: 102808 138 of 141 figure 11-1. pin assignment diagram 1 2 3 4 5 6 7 8 9 a avss_pll1 test oc4 oc5 oc2b/ gpio2 oc4b oc2 jtdi jtclk b intreq/ los avdd_pll1 sonsdh/ gpio4 oc1b/ gpio1 oc3b/ gpio3 oc5b oc3 oc1 rst c refclk avdd_pll2 avss_pll2 v ddio v dd v ddiob sdo jtdo sclk d oc4neg oc4pos vss_oc45 v ss v ss v ddio cpol wdt cs e oc5neg oc5pos vdd_oc45 v ss v ss v dd cpha sdi jtms f avss_pll3 avdd_pll3 avdd_pll4 v ss v ss v ddio srfail jtrst ic8 g srcsw avss_pll4 v ddio vss_oc67 vdd_oc67 v dd lock sync3 ic9 h fsync oc6pos oc7pos ic5pos ic1pos ic6pos ic2pos sync1 sync2 j mfsync oc6neg oc7neg ic5neg ic1neg ic6neg ic2neg ic3 ic4 high-speed analog low-speed analog high-speed digital low-speed digital v ddio 3.3v v ddiob 3.3v or 2.5v v dd 1.8v analog v dd 1.8v v ss analog v ss n.c. = no connection. lead is not co nnected to anything inside the device.
____________________________________________________________________________________________ ds 3102 rev: 102808 139 of 141 12. package information for the latest package outline information and land patterns, go to www.maxim-ic.com/packages . package type pa ckage code document no. 81 csbga ? 56-g6009-001 table 12-1. csbga package thermal properties, natural convection parameter min typ max ambient temperature (note 1) -40 c +85 c junction temperature -40 c +125 c theta - ja ( ja ) (note 2) 33.8 c/w theta - jb ( jb ) 18.2 c/w theta - jc ( jc ) 9.0 c/w psi-jb 17.8 c/w psi-jt 0.22 c/w note 1: the package is mounted on a four - layer jedec standard test board with no airflow and dissipating maximum power. note 2: theta - ja ( ja ) is the junction to ambient thermal resistance, when the package is mounted on a four - layer jedec standard test board with no airflow and dissipating maximum power.
____________________________________________________________________________________________ ds 3102 rev: 102808 140 of 141 13. acronyms and abbreviations ais alarm indication signal ami alternate mark inversion apll analog phase-locked loop bits building integrated timing supply bpv bipolar violation dfs digital frequency synthesis dpll digital phase-locked loop esf extended superframe exz excessive zeros gbe gigabit ethernet i/o input/output los loss of signal lvds low-voltage differential signal lvpecl low-voltage positive emitter-coupled logic mtie maximum time interval error ocxo oven-controlled crystal oscillator oof out of frame alignment pbo phase build-out pfd phase/frequency detector pll phase-locked loop ppb parts per billion ppm parts per million pk-pk peak-to-peak rms root-mean-square rai remote alarm indication ro read-only r/w read/write sdh synchronous digital hierarchy sec sdh equipment clock sets synchronous equipment timing source sf superframe sonet synchronous optical network ssm synchronization status message ssu synchronization supply unit stm synchronous transport module tdev time deviation tcxo temperature-compen sated crystal oscillator ui unit interval ui p-p unit interval, peak-to-peak xo crystal oscillator
____________________________________________________________________________________________ ds 3102 rev: 102808 141 of 141 maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no circu it patent licenses are implied. maxim reserves the right to change the ci rcuitry and specifications wi thout notice at any time. maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 ? 2008 maxim integrated products is a registered trademark of maxim integrated products. 14. data sheet revision history revision date description pages changed 102607 initial data sheet release. ? updated section 7.9.2 and its subsections extensively to more clearly explain the operation of the device. also updated mcr3 :aefsen, mcr3 :efsen, fscr3 :source and fscr1 :syncsrc to match. 46, 47, 48, 76, 119, 121 012108 in section 10 , added note 1 to the absolute maximum ratings. 128 in table 6-2 , corrected the default output frequenices for oc1?oc5, oc6pos/oc5neg, and oc7pos/oc7neg. 14 070308 in table 6-3 , corrected the wdt resistor value from 20k to 10k . 15 102808 in the mcr9 .autobw description, deleted se ntence referring to slave mode, which does not apply to ds3102. in mcr11 .fmeasin description, correct ed 0001 option to ic1 and 0010 option to ic2. these erroneously said ?{unused value, undefined}? before. 83, 93


▲Up To Search▲   

 
Price & Availability of DS310208

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X